I have ran into a curious error when trying to update Android SDK Tools
to revision 21
from revision 20.0.3
. The ADT plug-in updated p
If you install SDK with eclipse in execution this error will go occur. For you resolve this problem, you should have stop the eclipse application.
I got mine working by going into the android-sdk\temp folder and extracting the tools_r22.3-windows.zip
and renaming the current tools
folder to tools123
and moved the extracted tools folder to \android-sdk\
IF USING ANDROID BUNDLE
close the SDK manager and eclipse. From the SDK folder in bundle goto tools. Copy all files of the tools folder to another folder named toolscopy. Now in cmd navigate to SDK folder then to toolscopy and execute "android.bat". Now the SDK manager will execute and you can update all your updates. you can delete the toolscopy folder as the tools folder will automatically get updatesd :D
I solved it in a very simple way, worked well for me.
I solved this using "unlocker" by emptyloop to unlock the directory without having to kill java.exe using the task manager.