GeeCON Prague 2014*
The moose likes Android and the fly likes Error while installing SDK 21 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "Error while installing SDK 21" Watch "Error while installing SDK 21" New topic
Author

Error while installing SDK 21

shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

tell me how to solve it



[Thumbnail for sdk error.png]



with regards,
Shivdhway Pandey
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Use the microsoft process explorer to determine which applications are locking the files and get them to release the locks. Press Ctrl-F after opening process explorer to search for open file handles.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

Thanks
by your suggested process cmd is closed but when i try to close java.exe all the eclipse components gets closed
so it didn't get updated
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Oh my. That is troubling indeed. Try to change the directory that ADT installs to. A fresh directory will ideally have no locks on it. If the installation fails again, it might be a bug.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

You might try getting the SDK parts from the Android SDK Manager rather than eclipse. The SDK Manager should be in your start menu. In the three systems I build Android on (2 Windows, 1 Linux) I did it directly through the Android tools rather than Eclipse.


Steve
shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

How to change the directory of sdk?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

The plugin asks you for the installation directory in one of the screens. Change it and give it a try or take Steve up on his suggestion.
shivdhwaj pandey
Ranch Hand

Joined: Nov 12, 2011
Posts: 63

@steve: at my start menu there is only uninstall android sdk option is available
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while installing SDK 21