2

When I open up Eclipse it tells me that my SDK tools are out of date. Eclipse says my current version is 17 and I can update it to 20. This is a lie; when I open the SDK Manager, my SDK tool are 20.0.1. But when I open up the SDK Manager VIA Eclipse, the SDK tools change to version 17. I already looked at Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date but it still wouldn't work. I deleted Eclipse and started fresh by downloading Eclipse and installing the Android repository(ADT) to Eclipse. No luck, still tells me SDK tools are 17. So I decided to play along and clicked "Open the SDK Manager" window in Eclipse. The Manager popped up and clicked "install 1 package" (SDK Tool). Halfway through, it stops and says the android-sdk/tools directory is locked by java.exe and cmd.exe so I opened Windows Task Manager and ended the "java.exe" process. And what do you know? My Android SDK Manager Windows just closed. Just how the hell am I was supposed update the SDK Tools if the SDK Manager is going to interfere with itself? Sorry, I'm just really pissed at this point.

Community
  • 1
  • 1
user1556252
  • 21
  • 1
  • 3
  • 1
    I FINALLY got it to work! F*CK YEAH! Turns out, Eclipse was looking for the SDK Tools in the wrong place. Eclipse was looking for the tool in C:\Program Files (x86)\Android\android-sdk directory. The ACTUAL TOOLS was in C:\Users\YourName\AppData\Local\Android\android-sdk. The SDK Manager will tell you where the tools are. You can tell Eclipse in the preferences (under the Windows) to look in that directory. Hope I help you new coders! Answered my own question lol – user1556252 Jul 27 '12 at 00:55
  • Thanks. I had a similar problem. SDK location is shown at the top of the SDK manager window. – Robert Nov 06 '12 at 22:10

3 Answers3

1

Had similar problem. My answer was update ADT Plugin for Eclipse (Help->Check for Updates). Restart Eclipse.

ninge
  • 1,544
  • 1
  • 19
  • 39
0

None of the above worked for me. I had to "delete" SDK Build tools packages and then re-install the packages. After doing that, I could now create a new android project.

Christopher Adams
  • 1,116
  • 8
  • 14
0

For most, a simple update of build tool to required version suffice. As often happens, Android SDK Build-tools with compatible version is not installed.

N T
  • 1
  • 1