2015-07-11 48 views
0

我使用的是Mac OS X約塞米蒂10.10.3 JDK版本1.7.0Android Studio中未按規定設置在Mac OS X

這是從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 

回答

0

顯然,此問題的解決方法是使用sudo運行。

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

試過了,但它仍然給了我相同的錯誤。 – lordB8r

0

從蘋果支持頁面使用JDK 6 for OS X更新2014-001並嘗試安裝 然後將Android SDK設置爲路徑 再試一次

+0

我該如何獲得android設置嚮導來檢測該版本?我已經安裝了。 – Mox

+0

將java和android sdk添加到PATH –

+0

Android studio輕鬆地檢測到java 6不費力 –