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.
solve the sdk rename problem
最新推荐文章于 2021-05-27 13:39:05 发布
本文介绍了一种解决Android SDK更新失败的方法。问题出现在尝试重命名android-sdk-windows文件夹中的tools目录时。解决方案包括复制tools文件夹并从副本中运行Android.bat以完成更新过程。
1057

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



