I have closed every window, restarted the computer. But Eclipse is telling me: \"C:\\Program Files\\android-sdk\\tools is being accessed....I even deleted the directory but
I have had this problem on Windows too. Instead of updating it through Eclipse, try the stand-alone option:
If you have the SDK tools directory in your path it will open the same UI you get in Eclipse but without additional file locking. If it is not in your path have a look in C:\Program Files\Android\android-sdk\tools
and run "android.bat" from there.
Also, once you have updated the SDK, don't forget to fire up Eclipse and, on the Help menu, click "Check for Updates". You may well find the ADK Eclipse plugin needs to be updated too - this often goes in step with SDK updates.
I'm guessing that adb is restarting with the computer. Try adb kill-server
before upgrading
Another simple fix:
Close Eclipse. Open the directory where your SDK is located (C:\Users\user35\android-sdks) and run SDK Manager (as Administrator).
Supposedly, if you use the SDK Manager.exe
program rather than tools\android.bat
, it works. However, I've never had any luck with that.
My traditional approach has been:
tools\
directory to create a foo\
directoryPATH
and other environment variables to point to foo\
tools\android.bat
out of foo\
PATH
and such to point back to tools\
, and get rid of the foo\
directory