应用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.
我做错了什么,我该如何解决?
答案 0 :(得分:2)
您已将项目保存在SDK文件夹中。当SDk尝试更新时,整个文件夹将被新数据替换。由于项目是在IDE中打开的,因此SDK正在尝试替换显示此错误的文件夹。将项目文件夹复制到另一个文件夹中,然后关闭当前项目并尝试更新。