Cannot start Android Studio on my Mac OS Yosemite. Mistake. The following SDK component has not been installed: sys-img-x86-addon-google_apis-google-21

I was unable to run Android Studio on my Mac OS Yosemite. The installation wizard pops up and completes the setup using the screen that says :

Error: The following SDK component was not installed: sys-img-x86-addon-google_apis-google-21. 

I checked the following question: Android Studio does not start, I can’t say that the components are not installed . Don't know how to get this on Mac.

+7
android macos
source share
2 answers

Try this as suggested in the link provided:

Open a terminal and run the following two commands:

 cd /Applications/Android\ Studio.app/Contents/MacOS/ sudo ./studio 

It seems you need to run it as an administrator on the first start. I have not tried it, but it looks promising.

+11
source share

When you receive a download error message, if you click Cancel instead of Finish, Android Studio will still be open. That was for me. Then you can enter the SDK manager and install the necessary components.

But if you still can’t get into Android Studio, you can still access the SDK manager GUI by going to the directory where sdk is located (the name of the directory will be something like adt-bund-mac-x86 or android- sdk- macosx), in the tools folder, run the android executable. Mac OS does not want to start it automatically because it is not signed as a reputable developer, but you can start it by right-clicking and selecting "Open." This launches the SDK manager, and you should be able to install everything you need there.

0
source share

All Articles