Plan to update the Android SDK version to Android SDK Tools 20, open the SDK Manager.exe to start the update, and pop up the error prompt when installing:Failed to rename directory D:\android-sdk\ Tools to D:\ANDROID-SDK\TEMP\TOOLPACKAGE.OLD01. Installation failed, the problem did not appear on Ubuntu, Win7, said that can not change the file name of tools, originally when the SDK Manager.exe is opened, some tools under the Programs folder, such as Android.bat, this will make tools this folder locked, cannot be modified, there are many online to use the command line to update, this is a bit complicated.
Now find another way to be a fool:
Close the previously opened SDK Manager.exe, copy the Tools folder in the SDK, place it in the same level of tools directory, and open the copied Tools folder (typically "tools-copy") and open it directly android.bat file, it will automatically open the interface of the SDK Manager.exe, and then update it, until the update is finished, the copy of the Tools folder is OK, which also avoids the error of making changes to the open file.
Error updating Android SDK Failed to rename directory \temp\toolpackage.old01