更新android sdk出现 A folder failed to be renamed or moved

来源:互联网 发布:人间无数雨打去 知乎 编辑:程序博客网 时间:2024/05/18 03:29

在运行的过程中提示错误

-= 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 or your anti-virus software.)
Please momentarily deactivate your anti-virus software.
Please also close any running programs that may be accessing the directory ‘D:\training\android\android-sdk_r06-windows\android-sdk-windows\tools’.
When ready, press YES to try again.

解决方法:
关闭SDK Setup.exe。先备份tool文件夹。然后将temp文件夹下的tools开头的文件夹下的全部文件复制到tools下。
重新运行SDK Setup.exe。会弹出下面窗口

点击install可以正常安装

注意你可以通过 Avaliable Packages 安装只需要的包。如果你的网速不快可以尝试离线安装(网上有相关文章介绍)。

原创粉丝点击