I could find the error . The problem is the dependence of the android sdk , the actal is 4.1.1.4 (api 16) is the last in the maven repository . But the project needs the api 17+
Follow these steps : 1) Download a version of sdk 17+ 2) Download the maven-android-sdk-deployer project, and read the instructions for installation 3) Edit the pom.xml file ( the root ) by changing the property 4.1.1.4 and 16 by any of the following , depending on the SDK :
<android.version>4.2.2_r2</android.version>
<android.platform>17</android.platform>
<android.version>4.3_r2</android.version>
<android.platform>18</android.platform>
<android.version>4.4_r1</android.version>
<android.platform>19</android.platform>
and also edit
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${android.version}</version>
</dependency>
by
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<version>${android.version}</version>
</dependency>
It is also necessary to update the version of maven plugin 3.6.0 to 3.8.0.
Change this:
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<sdk>
<platform>${android.platform}</platform>
</sdk>
</configuration>
<extensions>true</extensions>
</plugin>
by this:
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<sdk>
<platform>${android.platform}</platform>
</sdk>
</configuration>
<extensions>true</extensions>
</plugin>
4) Edit the pom.xml ( the menudrawer folder) edit the following :
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
by
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
recharge the maven project and compile