I am trying to install Android Studio in Mac OS 10.12.3 I downloaded Android Studio v2.3 for mac.
It installs successfully, but when setting up for the first time, it always shows this error.
An error occurred while trying to compute required packages.
On clicking finish, i get
Failed to determine required packages
When i try to open SDK Manager, all options are disabled and it shows [this][3]. Even if i click on set sdk location, it gives me the same error as before.
I searched a lot in stack overflow and tried many suggestions, but nothing worked till now.
Things i tried:
Once you've failed the install, click Finish (I believe twice) to get to the Android SDK launcher. Click on Settings -> Appearance & Behavior -> System Settings -> Updates and change the Update Channel to "Canary Channel".
Close out of the SDK and relaunch the Android Studio. It should go forward w/o issue.
Ok, after a lot of search, and asking for help, i found something. Maybe it can help someone else.
I still didn't figure out what was the problem, but i got a workaround.
Since android studio couldn't install SDK, i used homebrew to install android-sdk separately, and then linked that folder as ANDROID_HOME and then set that path in Android Studio SDK, and it worked.
There was some more problems i faced in updating SDK Tools, but updating from command line did the trick.
Now all works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With