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
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
相关文章推荐
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误
- Error message when you try to modify or to delete an alternate access mapping in Windows SharePoint Services 3.0: "An update conflict has occurred, and you must re-try this action"
- Export op results in error "EXP.EXE has encountered a problem and needs to
- 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory
- eclipse运行android项目出现"The connection to adb is down, and a severe error has occured."的问题
- Buttons in button bars should be borderless; use style="?android:attr/buttonBarButtonStyle" (and ?an
- "The connection to adb is down, and a severe error has occured"错误解决方法
- ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart'”
- Exception in thread "main" org.hibernate.AnnotationException: List/array has to be annotated with an
- "AND" in linq? is it possible?
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- adb.exe被占用,The connection to adb is down, and a severe error has occured.adb.exe' and can be execute
- 错误:Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- Given constant integers x and t, write a function that takes no argument and returns true if the function has been called x number of times in last t secs.
- 解决Please ensure that adb is correctly located at 'E:\eclipse\sdk\platform-tools\adb.exe' and can be
- Buttons in button bars should be borderless; use style="?android:attr/buttonBarButtonStyle" (and ?an
- 第一篇:解决ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Res
- Please ensure that adb is correctly located at 'D:\Android\android-sdk\platform-tools\adb.exe' and
- Alias "bootstrap.widgets.TbHeroUnit" is invalid. Make sure it points to an existing PHP file and the
- 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory