2014-09-02 209 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