I did an SDK update last night and it moved adb.exe. In its place it left a file called "adb_has_moved.txt" saying
The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.
So I did all that, including the PATH and now I can start adb.exe from any DOS prompt. But I still can't start it from Eclipse (Galileo 3.52). When I try it says
Location of the Android SDK has not been set up in the preferences
... which is not true. The SDK IS set up in Preferences. The real problem is at the top of the Preferences window where it says "Could not find C:\SDK\android-sdk-windows\ tools \adb.exe!" ...No kidding - the update moved it to C:\SDK\android-sdk-windows\ platform-tools. Because it's specifying a specific (wrong) path Eclipse is bypassing the PATH variable. So how do I get Eclipse to look in the right place?
android link|improve this question asked Feb 13 at 15:07
Peter Nelson
356316
72% accept rate
Was this post useful to you?
2 Answers
active
oldest
votes
up vote
0
down vote
The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.
So I did all that, including the PATH and now I can start adb.exe from any DOS prompt. But I still can't start it from Eclipse (Galileo 3.52). When I try it says
Location of the Android SDK has not been set up in the preferences
... which is not true. The SDK IS set up in Preferences. The real problem is at the top of the Preferences window where it says "Could not find C:\SDK\android-sdk-windows\ tools \adb.exe!" ...No kidding - the update moved it to C:\SDK\android-sdk-windows\ platform-tools. Because it's specifying a specific (wrong) path Eclipse is bypassing the PATH variable. So how do I get Eclipse to look in the right place?
android link|improve this question asked Feb 13 at 15:07
Peter Nelson
356316
72% accept rate
Was this post useful to you?
2 Answers
active
oldest
votes
up vote
0
down vote
Updating the ADT plugin from within Eclipse might help, as detailed here: http://developer.android.com/sdk/eclipse-adt.html
http://stackoverflow.com/questions/4984868/android-adb-has-moved-and-eclipse-is-looking-in-the-old-place