title: MAVEN Invalid SDK: Platform/API level 16 not available
body: <p>I have a working android app on my Android Studio (windows) and I am trying to create an apklib with MAVEN for the project.</p>
  
  <p>When I run compile on MAVEN (3.0.5) I get the following error message:</p>
  
  <pre><code>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 --no-ui --obsolete --force
  </code></pre>
  
  <p>I run the above command for update sdk but no luck (it was successful, but I keep get the above error). My SDK Manager shows that API 16 is installed.</p>
  
  <p>Any ideas? (all questions on web conclude to install the API on SDK Manager :( )</p>