Failed to find target with hash string 'android-24'

Viewed 37857

enter image description here

I am getting this error after changing all the Google libraries to 24.0.0 and changing the compileSdkVersion and 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?

enter image description here

enter image description here

4 Answers

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.

Related