无法重命名的目录工具在C TEMP \ ToolPackage.old01:\ Android的SDK-窗口重命名、窗口、目录、工具

2023-09-12 07:22:02 作者:我看你能和她猖狂多久

当试图Android的SDK工具升级到版本16,我收到以下错误:

When trying to upgrade Android SDK Tools to revision 16, I am getting the following error:

无法重命名目录C:\ Android的SDK-WINDOWS \工具   C:\ Android的SDK-WINDOWS \ TEMP \ ToolPackage.old01

Failed to rename directory C:\android-sdk-windows\tools to C:\android-sdk-windows\temp\ToolPackage.old01.

完成。什么都没有安装。

Done. Nothing was installed.

没有我尝试做的,包括提供全面的权限(除特殊权限,它已经有了)来管理,帮助。

Nothing I try to do, including providing FULL permissions (in addition to the special permissions it already had) to Administrator, helps.

另外,我不知道什么是访问的目录。

Also, I don't know of anything that is accessing those directories.

我该如何解决这个问题?

How do I fix this problem?

推荐答案

请在 \工具文件夹的副本,将其命名为类似 \副本。所以,你应该有 C:\ Android的SDK-WINDOWS \复制。现在运行 android.bat \复制文件夹管理权限。这应该prevent的问题,项目目前正在在 \工具文件夹打开。

Make a copy of the \tools folder, name it something like \copy. So you should have c:\android-sdk-windows\copy. Now run android.bat from the \copy folder with Admin privileges. This should prevent the issue with items currently being open in the \tools folder.