您的位置:首页 > 其它

I did an SDK update last night and it moved adb.exe. In its place it left a file called "adb_has_mov

2011-08-01 23:48 956 查看
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

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐