I\'m trying to install the Android SDK to retry my shot at development. I\'m following the steps at the developer site to install everything for working on Eclipse, but while in
In the Security tab of Android folder, change the permission of TrustednIstaller to full control.
For the updating Problem after install.
The Android SDK Manager is what is locking the directory. It calls Android.bat in the tools folder to start. If you run Android.bat from command-line with "update sdk" arguments it will run all items from a temp directory and not lock the tools folder.
Change the directory below to your android directory.
"WindowsKey" + "R"
cmd
cd "C:\program files\Android\android-sdk\tools"
android update sdk
OR
In notepad type "android update sdk" without quotes.
Save the file as StartTemp.bat in the tools directory.
Run the bat
Cancel the first screen when it starts, then choose the SDK update version.
Shutdown Eclipse first, then update the SDK - that worked for me, did not need to stop anti-virus
Android uninstall is just deletion of folder. To fix this, restart your pc because I think adb locked that directory making it impossible to remove it. Now, delete that android folder and do a clean install, preferably in a folder that doesn't have spaces in the name. My install is in c:\Android folder.
I had the same problem. And here is how I get over that: make a new copy of the "platform-tools" or "tools" folder and name it for example "tools-bak" then open the new created folder and find a file named "android.bat" double click and continue your setup.
Try installing everything on a path that does not contain spaces, such as C:\android-sdk
. Stay out of C:\Program Files
or C:\Program Files (x86)
.