Failed to Install; Program accessing directory android-sdk\platform-tools

后端 未结 7 1998
执念已碎
执念已碎 2021-02-10 07:18

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

相关标签:
7条回答
  • 2021-02-10 07:49

    In the Security tab of Android folder, change the permission of TrustednIstaller to full control.

    0 讨论(0)
  • 2021-02-10 07:53

    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.

    0 讨论(0)
  • 2021-02-10 07:59

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

    0 讨论(0)
  • 2021-02-10 08:00

    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.

    0 讨论(0)
  • 2021-02-10 08:08

    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.

    0 讨论(0)
  • 2021-02-10 08:10

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

    0 讨论(0)
提交回复
热议问题