Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

macos - Android Studio SDK Installation Failed Mac OS X

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:

  • Changed proxy settings, and added *.dl.google.com, *.dl-ssl.google.com in bypass proxys.
  • In android studio preferences, changed it to 'Auto Detect Proxy Settings'
  • Disabled Tunnelblick (i use it for VPN).
  • Deleted ~/.android everytime before trying
  • Changed permission to selected SDK folder to 777
  • Tried to run installer with sudo
  • Different SDK installer location
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...