I have an Android application in Android Studio (windows) and I'm trying to create apklib with MAVEN for a project.
When I run compilation in MAVEN (3.0.5), the following error message appears:
Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources (default-generate-sources) on project userprofile: 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. This command should give you all you need: [ERROR] C:\Program Files (x86)\Android\android-studio\sdk\tools\android update sdk
I ran the above command to update sdk but no luck (this was successful, but I keep getting the above error). My SDK manager shows that API 16 is installed.
Any ideas? (all questions on the Internet are how to install the API on the SDK Manager :()
geoak source share