Android Studio 更新失敗 The following SDK components were not installed (四)


一、更新失敗 The following SDK components were not installed
圖1



二、更新Android Studio 的 URL

-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=http://dl.google.com/android/studio/patches/
IP為:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

三、測試
圖2 下指令 ping 203.208.46.146 是否成功,本例為:要求等候逾時(失敗)


圖3 下指令 ping 203.208.46.146 是否成功,本例為:成功。



四、決解方案:
關掉 防火牆、防毒軟體,或將此ip 203.208.46.146 加入允許通過。


如還是無法更新,
另其它決解方案請參考:

修改安裝目錄下
bin\studio.exe.vmoptions文件
如G:\Android\android-studio\bin\studio.exe.vmoptions

文件中加入:
-Djava.net.preferIPv4Stack=true
-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=http://dl.google.com/android/studio/patches/

解決Android Studio和Android SDK Manager無法在線更新
http://wuxiaolong.me/android/2014/11/21/sdk-update/

android studio升級失敗提示 Connection failed解決方法
http://2821752.blog.51cto.com/2811752/1297274

解決Android Studio 無法在線更新的問題
http://fxiaozj.iteye.com/blog/2095187

圖4 更新成功


回Android目錄




 






 













其它文章

arrow
arrow

    PG Levin Li 發表在 痞客邦 留言(0) 人氣()