solve the sdk rename problem

I had the same problem: the latest update failed to install because it couldn't
rename the tools folder in android-sdk-windows.  I'm using Avira antivirus and
disabling it didn't help, but I don't think it had anything to do with the AV program
anyway.

Fact is, running the Android SDK setup apparently uses items in the
"android-sdk-windows\tools" directory.  I'm on Win 7 x64 so maybe that causes some
unique situation - I'm not sure.

Solution:

- I made a copy of the tools folder itself (keeping it at the same directory tree
level, thus "tools" and "tools-copy" were both in the "android-sdk-windows" folder).

- I ran Android.bat from that copy

- I ran the update without problems (it updated the original,
not-being-used-at-the-moment tools folder, among whatever other items it needed to).

- I closed the SDK, deleted the folder (I had to kill the adb.exe process first - not
sure why that always persists but you can't delete the folder without doing that).

- I restarted the SDK from the normal (now-updated) tools folder.  Worked like a charm!

Note that simply killing adb.exe was NOT sufficient to get around the original
issue... only by copying the tools folder and using the copy to run Android for the
duration of the update process was enough to rectify the problem.

I hope this helps others... it's quite vexing to have to spend time resolving basic
issues like this just to run an update.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值