Skip to content Skip to sidebar Skip to footer

Failed To Install; Program Accessing Directory Android-sdk\platform-tools

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 install

Solution 1:

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.

Solution 2:

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).

Solution 3:

I had the same problem and ran the SDK manager as administrator. That worked for me with Vista x64.

Solution 4:

Shutdown Eclipse first, then update the SDK - that worked for me, did not need to stop anti-virus

Solution 5:

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.

Post a Comment for "Failed To Install; Program Accessing Directory Android-sdk\platform-tools"