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

本文介绍了当遇到Android SDK安装过程中提示文件夹无法重命名或移动的问题时的解决办法。建议暂时停用防病毒软件并关闭可能访问指定目录的程序。通过备份并替换工具文件夹内的文件来解决问题,并提供正常安装流程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在运行的过程中提示错误

-= 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 安装只需要的包。如果你的网速不快可以尝试离线安装(网上有相关文章介绍)。

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值