问题的解决:Please ensure that adb is correctly located at..

[2014-07-21 21:01:38 - test] Android Launch!
[2014-07-21 21:01:38 - test] The connection to adb is down, and a severe error has occured.
[2014-07-21 21:01:38 - test] You must restart adb and Eclipse.
[2014-07-21 21:01:38 - test] Please ensure that adb is correctly located at 'D:\mobile\adt-bundle-windows-x86-20130729\sdk\platform-tools\adb.exe' and can be executed.

1. 现象:
运行写好的应用程序时,出现“Please ensure that adb is correctly located at 'E:/src/android23sdk/android-sdk_r08-windows/android-sdk-windows/platform-tools' and can be executed.”提示。
2. 解决方法:
很明显,是因为在对应的文件夹下找不到adb的问题。
将android-sdk-windows/platform-tools和android-sdk-windows/tools都加到环境变量中去。
(我的电脑-右键-高级-环境变量-classpath(或者path,我的做法是加到path中))

 

 

你可能感兴趣的:(adb)