简体   繁体   中英

Android Studio Fail to set up on Mac OS X

I am using Mac OS X yosemite 10.10.3 JDK version 1.7.0

This is the error from android studio set up wizard

Refresh Sources:
  Failed to fetch URL http://dl.google.com/android/repository/addons_list-2.xml, reason: File not found
  Fetched Add-ons List successfully
  Refresh Sources
  Failed to fetch URL http://dl.google.com/android/repository/repository-10.xml, reason: File not found
Refresh Sources:
  Failed to fetch URL http://dl.google.com/android/repository/repository-10.xml, reason: File not found
There is nothing to install or update.
platform-tools, extra-android-m2repository and 2 more SDK components were not installed

从Apple支持页面使用JDK 6 for OS X更新2014-001并尝试安装然后将Android SDK设置为路径Try

显然,此问题的解决方法是使用sudo运行。

sudo "/Applications/Android Studio.app/Contents/MacOS/studio"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM