出错信息:
Downloading SDK Platform Android 1.5, API 3, revision 3
Installing SDK Platform Android 1.5, API 3, revision 3
Failed to rename directory F:/android-sdk-windows/temp/PlatformPackage.new01 to F:/android-sdk-windows/platforms/android-1.5
-= Warning ! =-
A folder failed to be renamed or moved. On Windows this typically means that a program is using that folder (for example Windows Explorer.) Please close all running programs that may be locking the directory 'F:/android-sdk-windows/temp/PlatformPackage.new01' and try again.
Downloading SDK Platform Android 1.6, API 4, revision 1
----------------------------------------------------------------------------------------
一、(这种方法亲测可以)
先备份一下TOOLS文件夹里的文件
TEMP里的 tools的文件全部考呗出来
替换掉TOOLS里的文件
再启动更新就可以了!
二、(这个方法亲测没有通过)
1, 复制 tools目录 为一个新的目录 tools-copy ,此时在android-sdk-windows 目录下有两个目录 tools 和 tools-copy
2, 在tools-copy目录运行 android.bat ,这样就可以正常 update all 了
3,之后,关闭 sdk,
4, 在 android-sdk-windows 目录运行 SDK Setup.exe, 就可以了
转载地址:http://blog.youkuaiyun.com/csdnatm/article/details/5690452
本文提供了解决Android SDK安装时遇到的文件重命名失败问题的方法,包括备份TOOLS文件夹文件、替换文件及启动更新的步骤,以及通过复制并运行特定目录的android.bat文件来实现正常更新的技巧。
5万+

被折叠的 条评论
为什么被折叠?



