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

前端 未结 14 2629
日久生厌
日久生厌 2020-12-05 02:14

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

Failed to rename directory C:\\android-sdk-windows\\tools t

14条回答
  •  忘掉有多难
    2020-12-05 03:07

    This is how I fixed it in Windows 7:

    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.

提交回复
热议问题