Using an obsolete version of "android-maven-plugin" causes different errors like:
java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State for maven 3.3.x
or
No implementation for org.eclipse.aether.connector.wagon.WagonConfigurator was bound.for maven 3.2.x
Plugin
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.8.0</version>
should be changed to
<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>4.3.0</version>
because the project was moved.
New version of the plugin requires more "maven like" folders layout. The file AndroidManifest.xml and folders "res" and "sources" should be moved into a corresponded hierarchy.
The patch attached.
SDK version increased to 16 because version 7 is not supported on Windosw.
Anonymous