I was actually compiling a android project using maven: mvn clean install
and i got this error but don't understand why this is happening
Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources (default-generate-sources) on project helloflashlight: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources failed: Invalid SDK: Platform/API level 16 not available.
What should I do?
My guess is that your app is configured with API Level 16 as the build target, and you do not have that installed through the SDK Manager. Use the SDK Manager to download the API Level 16 SDK components, and see if that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With