The module cannot be android library


I´m trying to use 7 Metawear connected to an Android phone (V. 4.3 JellyBean) to report when the physical switch is pressed.

I´m using the Metawear API (1.8.0) as shown in the tutorial ( Getting started with Metawear API using Android studio).

I created an activity class as a test inside the project, but when I try to compilate The Run</<debug configuration shows: "!Error: The module cannot be Android library".

I wonder how can I implement the Metawear library.

Thanks, and sorry if the answer seems obvious. I´m not an expert using the android platform


This discussion has been closed.