I am getting this error after changing all the Google libraries to 24.0.0 and changing the
targetSdkVersion to 24.
As you can see in the attached images I installed all Android N packages, but there only stands: “Partially installed”.
How can I fix this?
There is no
targetSdkVersion of 24, nor is there
compileSdkVersion of 24, at this time. Those will be valid values (presumably) when the next version of Android ships.
For the N Developer Preview, based on my work over here, use:
buildToolsVersion '24.0.0 rc1'
You also need Gradle 2.10 or higher (see your
gradle/wrapper/gradle-wrapper.properties file or your standalone Gradle installation) and
'com.android.tools.build:gradle:2.1.0-alpha1' (see the top-level
Worked for me:
1. Manual install missing platforms in SDK Manager
2. RESTART Android Studio
Following worked for me:
- Updated Android Studio to the latest
- Restart Android Studio
- AS provides options to install missing platform plugins
- Click and update.
open android studio as Run as administrator. It automatically installs missed sdks and all.