maven3.2.3搭配android-maven-plugin3.8.0,不要使用默认的搭配android-maven-plugin3.6.0
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.0</version>
<extensions>true</extensions>
<configuration>
<sdk>
<path>${env.ANDROID_HOME}</path>
<platform>16</platform>
</sdk>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>