安卓工作室 0.8.6 : Error installing Android SDK Platform 20

标签 android android-studio

应用来自 Android Studio 0.8.6: Failure [INSTALL_FAILED_OLDER_SDK] 的修复程序和 Android Studio : Failure [INSTALL_FAILED_OLDER_SDK] ,我得到错误:

Loading SDK information...
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources

Installing Archives:
  Preparing to install archives
  Downloading SDK Platform Android 4.4W, API 20, revision 1
  Installing SDK Platform Android 4.4W, API 20, revision 1
  Failed to rename directory C:\android-studio\sdk\platforms\android-20 to C:\android-studio\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 'C:\android-studio\sdk\platforms\android-20'.
When ready, press YES to try again.
Note: you  can use --force to override to yes.
[y/n] =>
  Done. Nothing was installed.

我做错了什么,我该如何解决?

最佳答案

您已将项目保存在 SDK 文件夹中。当 SDK 尝试更新时,整个文件夹将被新数据替换。由于项目是在 IDE 中打开的,SDK 正在尝试替换显示此错误的文件夹。将您的项目文件夹复制到另一个文件夹并关闭当前项目并尝试更新。

关于安卓工作室 0.8.6 : Error installing Android SDK Platform 20,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25624256/

相关文章:

java - 安卓工作室 : lots of errors when I run my app

android - 如何在 Android 中设计同步服务

android - Android无法发送HTTP请求

java - 使用预编译的正则表达式模式提高速度

android - Gradle 无法解析 Android Studio 中的依赖项

Android工作室: Segmentation fault while trying to deploy app on Android device

android - 什么会导致 Android Activity 在从相机返回时无限地重新启动?

java - 如何停用 Android 中的按钮

android - fragment 内 fragment {Kotlin}

android - 自 Android studio 3.5 起,辅助功能服务在每次运行时自动关闭