Android studio 无法安装 - 无法获取 addons_list-2.xml

标签 android android-studio osx-yosemite

尝试在 OSX 10.0 Yosemite 上安装 Android Studio,但在“从向导下载组件”时卡住了

Refresh Sources:
  Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml,
  Fetched Add-ons List successfully
  Refresh Sources
  Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-10.xml, 
  reason: File not found

最佳答案

主目录中的“.android”文件夹只能由 root 更改。

在终端中运行:

sudo chmod a+rwx ~/.android && sudo chmod a+rwx ~/.android/*

关于Android studio 无法安装 - 无法获取 addons_list-2.xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28077615/

相关文章:

java - Android 计算器应用程序在单击操作符时强制关闭

linux - 特定网络上的SSH断开管道

Android - 同一行中的两个按钮填充整个宽度

android - 一个进程试图 chmod 一个文件,而另一个进程已经写入该文件?

java - 如何使用文件浏览器 Android Studio 将歌曲添加到我的歌曲播放列表?

android - 客户端尚未准备好......在 Android Wear 表盘应用中

macos - 在 JavaScript for Automation (OSA) 中使用 Application.currentApplication() 时出错

qt - 无法更改自定义QListView行的突出显示的文本颜色

java - 在android中将字符串转换为日期 "2016-01-28T12:08:47.676706-05:00"

android ListView 适配器方法 getViewTypeCount() 在 adapter.notifyDataSetChanged() 时不触发