Android Studio 安装 SDK 错误
Android Studio Install SDK Error
我尝试更新 android studio 中的 5.0 版布局库,但下载结束 return 此错误:
Loading SDK information...
Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources
Installing Archives:
Preparing to install archives
Installing SDK Platform Android 5.0.1, API 21, revision 2
Failed to rename directory E:\Android\SDK\platforms\android-21 to
:\Android\SDK\temp\PlatformPackage.old01.
SDK Manager: failed to install
-= Warning ! =-
A folder failed to be moved. On Windows this typically means that a program
is using that folder (for example Windows Explorer or your anti-virus software.)
Please momentarily deactivate your anti-virus software or close any running programs that may be accessing the directory 'E:\Android\SDK\platforms\android-21'.
When ready, press YES to try again.
Note: you can use --force to override to yes.
[y/n] =>
Done. Nothing was installed.
然后我尝试输入 y
字符,禁用杀毒软件并检查互联网连接,但没有解决问题![=14=]
什么是解决方案!?
可能的解决方案
- 设置"No Proxy"
似乎是一个错误。
我转到首选项 -> HTTP 代理将选项从 "Auto-detect proxy settings"
设置为 "No Proxy"
- 运行 作为管理员
以管理员身份启动 android 工作室。每当 updates/installations 失败时,它都会在 android 工作室帮助你。
你的E:\Android路径是否安装了Android Studio? SDK不能在Android工作室路径
好的
终于解决了!
关闭所有与 SDK
文件夹相关和使用的程序。(为了确保,禁用杀毒软件,甚至 AVD,Genymotion 和...)
此路径:菜单--->文件--->无效Caches/Restart
再次尝试下载 - 但这次只是解压下载包(它不再下载)
我尝试更新 android studio 中的 5.0 版布局库,但下载结束 return 此错误:
Loading SDK information...
Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources
Installing Archives:
Preparing to install archives
Installing SDK Platform Android 5.0.1, API 21, revision 2
Failed to rename directory E:\Android\SDK\platforms\android-21 to
:\Android\SDK\temp\PlatformPackage.old01.
SDK Manager: failed to install
-= Warning ! =-
A folder failed to be moved. On Windows this typically means that a program
is using that folder (for example Windows Explorer or your anti-virus software.)
Please momentarily deactivate your anti-virus software or close any running programs that may be accessing the directory 'E:\Android\SDK\platforms\android-21'.
When ready, press YES to try again.
Note: you can use --force to override to yes.
[y/n] =>
Done. Nothing was installed.
然后我尝试输入 y
字符,禁用杀毒软件并检查互联网连接,但没有解决问题![=14=]
什么是解决方案!?
可能的解决方案
- 设置"No Proxy"
似乎是一个错误。
我转到首选项 -> HTTP 代理将选项从 "Auto-detect proxy settings"
设置为 "No Proxy"- 运行 作为管理员 以管理员身份启动 android 工作室。每当 updates/installations 失败时,它都会在 android 工作室帮助你。
你的E:\Android路径是否安装了Android Studio? SDK不能在Android工作室路径
好的
终于解决了!
关闭所有与
SDK
文件夹相关和使用的程序。(为了确保,禁用杀毒软件,甚至 AVD,Genymotion 和...)此路径:菜单--->文件--->无效Caches/Restart
再次尝试下载 - 但这次只是解压下载包(它不再下载)