bobby
bobby

Reputation: 21

eclipse will not find ADB.exe or SDK

I am going nuts.I update to the Android SDK in Eclipse, Eclipse can't find the SDK. There is a text not that saids the the file has been moved to /platform-tools, however the file ADB.exe is nowhere to be found in any of my folders. The SDK Manager works find but for some reason Eclipse will not find the file its looking for. I have looked everywhere for the answer. It work find for about 4 months until I upgraded. I also now using a real device a Droid X2. But I don't believe this is the issue. I can't find the ADB.exe file. Help been working on this for about 2 days

Upvotes: 2

Views: 9002

Answers (5)

Maryam Saeidi
Maryam Saeidi

Reputation: 1543

I had the same problem, and when I looked inside the platform-tools folder, it was empty. After searching for downloading the contect of this folder, I found the below link.

http://venomvendor.blogspot.com/2012/06/android-adt-20-updated-download-offline.html

But it also could not help me. At last I found that it's related to my internet connection.

Upvotes: 0

hsantana8
hsantana8

Reputation: 13

I got the same problem. In my case it was caused by an upgrade on the Java JDK. I was using 1.6 and upgraded to 1.7.

Just manually add the new JDK to Eclipse.

Right click on your project JRE System Library. Select installed JRE, and then find it on your computer.

Upvotes: 0

Dimitris
Dimitris

Reputation: 21

I had the same problem and solved it by running the android sdk-manager (you can do that without running eclipse, using the start menu shortcut) and installing the Android SDK Platform-Tools through it (select the square and click install packages...).

Upvotes: 2

Femi
Femi

Reputation: 64700

adb.exe was relocated from {ANDROID_SDK_FOLDER}/tools to {ANDROID_SDK_FOLDER}/platform-tools: find your SDK folder and look inside it for the platform-tools folder.

EDIT: in Eclipse, if you open the Preferences dialog (Window->Preferences) and select the Android option on the left it will show you what Eclipse THINKS is your Android SDK folder. If you moved the SDK folder you should update the path to match the new location of the SDK folder, and then (a restart might be necessary) Eclipse should work fine with the Android tools.

EDIT: well, I can't tell if your ADT isn't properly installed or if the SDK location is broken, so lets try and brute force set the SDK location. Create a text file on your desktop called "adt.pref", and then place only this line in it:

/instance/com.android.ide.eclipse.adt/com.android.ide.eclipse.adt.sdk=C\:\\Program Files\\Android\\android-sdk

then in Eclipse select File->Import then select General->Preferences and then pick that file. This should force the ADT location to match what that is. Restart Eclipse and see if that improves things.

Upvotes: 5

ScottB
ScottB

Reputation: 63

Download the SDK here.

Once that's done, I would just follow the Google installation instructions again from the beginning. Perhaps you're missing something fairly simple?

Installation instructions.

Upvotes: 1

Related Questions