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
For me, it worked by simply deleting the contents of the temp
directory in the SDK installation folder (C:\android-sdk-tools\temp
in your case)
I encounter this problem while adding compatibility package to project in eclipse.
I solved this issue by opening the eclipse with administrator privileges.
In Windows 7:
Right click on eclipse.exe Run as administrator
.
To make eclipse.exe to run as administrator always
Right click on eclipse.exe --> Properties -->Compatibility tab
check the Run this program as an administrator
check box under Privilege Level
I close the eclipse and run my android.bat (Path-To-YOUR-Android-SDK/tools/android.bat) from the command line.
It works for me
thanks
For me who I tried all the previous solutions and didn't work I solved my problem with the following sugestion (#16) on the link: https://code.google.com/p/android/issues/detail?id=4410 which is:
Right click on "android-sdk" folder > properties > security > set full control permission for "ALL APPLICATION PACKAGES" and press OK, it take some minutes for sett this permission in all sub directories.
Had the same issue with that and even tried with the copied folder. I had to run adb kill-server
in the command prompt in the platform-tools
directory for it to continue.