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

Source: Internet
Author: User

Transferred from: http://stackoverflow.com/questions/13587478/sdk-manager-failed-to-install-java-exe-locking-directory

I have the ran into a curious error when the trying to update to from Android SDK Tools revision 21 revision 20.0.3 . The ADT plug-in updated properly so now I am at a stand still until resolved.

The initial error I got listed cmd.exe & java.exe as locking the directory, I forced closed and cmd.exe got this:

If I Force Close then java.exe obviously my SDK Manager closes.

SDK Manager Log:

This was my work computer so I ' d really like to avoid any down-time resulting from a reboot, just curious if anyone have com E across this issue and been able to resolve.

I have tried closing Eclispe and running SDK Manager from the file directory, same issue, I read that someone had Experien CED this while has the directory opened so I closed and still, same issue. Any help is appreciated.

Eclipse:
version:3.7.2
Build id:m20120208-0800

Update:

Fresh reboot did not resolve.

Android Android-sdk-tools
Share|improve this question Edited ' at 16:23
Asked ' at 15:28 Asok
5,1642
2
Android.bat has the comment Copy android.bat and its required libs to a temp dir. This avoids locking the tool dir in case the user is trying to update it. The Android tools is terrible. :(–nates ' at 19:29
Add a Comment

9 Answers Active oldest votes

Up vote vote accepted

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

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

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.