2014-09-02 106 views
1

Android Studio 0.8.6: Failure [INSTALL_FAILED_OLDER_SDK]Android Studio : Failure [INSTALL_FAILED_OLDER_SDK]应用的修复,我得到的错误:过Android Studio 0.8.6:错误安装的Android SDK平台20

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. 

我在做什么错了,我该如何解决这个问题?

回答

2

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

+0

感谢**文件>关闭项目**,在Android Studio窗口中按**配置> SDK管理器**,然后安装丢失的软件包。 – Loknar 2014-12-31 13:40:28