android sdk for windows出现A folder failed to be renamed or moved 解决办法


安装过程错误信息如下:

-=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
'G:\software\android-sdk-windows\tools'.
When ready,press Yes to try again.


解决方法有两种:

第一种方法(老外研究的方法):

1.复制 tools目录 为一个新的目录 tools-copy ,此时在android-sdk-windows 目录下有两个目录 tools 和 tools-copy
2.在tools-copy目录运行 android.bat ,这样就可以正常 update all 了
3.重新运行SDK Setup.exe

 

第二种方法(推荐):

 1.进入sdk的temp文件夹,下载好后会有一个tools_r10-windows.zip(版本号可能会不一样,如r09)
 2.解压此文件,将解压出来的文件覆盖tools中的文件
 3.重新运行SDK Setup.exe



如果报如下的错误 是因为有些资源没有下载下来 而想要下载这些必须的资源则需要上面的那些操作 当下载完毕后下面的这个问题也就自然而然的解决了:

The operation cannot be completed.  See the details.
Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Native Development Tools 21.1.0.v201302060044-569685 
(com.android.ide.eclipse.ndk.feature.group 21.1.0.v201302060044-569685)
  Missing requirement: Android Native Development Tools 21.1.0.v201302060044-569685 
(com.android.ide.eclipse.ndk.feature.group 21.1.0.v201302060044-569685) requires 
'org.eclipse.cdt.feature.group 0.0.0' but it could not be found

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值