简体   繁体   English

Android Studio无法在Mac OS X上设置

[英]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 我正在使用Mac OS X优胜美地10.10.3 JDK版本1.7.0

This is the error from android studio set up wizard 这是来自android studio设置向导的错误

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"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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