SDK Manager failed to install 'java.exe' locking directory

前端 未结 12 1995
春和景丽
春和景丽 2020-12-14 04:27

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

相关标签:
12条回答
  • 2020-12-14 04:40

    I resolved this by copying my \tools folder, naming the copy \toolsCopy. Then I ran android.bat from the \toolsCopy folder with Administrator privileges.

    Running the SDK manager from \tools locked the renaming of the \tools directory, for obvious reasons. SMH

    0 讨论(0)
  • 2020-12-14 04:42

    100 % working...

    1. close eclipse.exe
    2. go to your directory containing android-sdks
    3. run SDK Manager.exe
    4. install required packages
    5. close sdk Manager.exe
    6. Start eclipse and you are almost there
    7. update your ADT plugins by visiting Help menu in eclipse and then Check for Updates
    8. Restart your computer.
    0 讨论(0)
  • 2020-12-14 04:44

    Close eclipse and try again it will work.. (After closing eclipse Android SDK Manager window will not close)

    or,

    Just go to task manager and end the eclipse process and try again it will work..

    0 讨论(0)
  • 2020-12-14 04:44

    I got the same problem. Then go to temp folder extract "tools_r24.0.2-windows.zip" copy "tools" folder from extracted folder and then paste it inside "sdk" folder.(or override on tools folder) :)

    0 讨论(0)
  • 2020-12-14 04:46

    Steps to Resolve that

    1. Close the Eclipse

    2.Run the SDK Manager

    3.Now update the packages

    It works for me

    0 讨论(0)
  • 2020-12-14 04:48

    It work for me after long search

    1. Close the sdk manager and eclipse.

    2. Go to the folder where you have stored your adt.

    3. In that adt folder you'll find a folder known as tools.

    4. Make a copy of the contents of that folder and paste it in a folder called copytools.

    5. Now go to the command prompt and go to the location of the copytools.

    6. Then execute the command android.bat the sdk manager will start.

    7. Now update all the plugins you want. It'll update your original folder.

    8. After the update delete the copy.

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