您的位置:首页 > 移动开发 > Android开发

android开发入门常见错误(1)-adb报错

2015-03-21 21:30 183 查看
运行android项目时,报一下错误:

[2012-10-19 17:49:14 - AndroidTest] ------------------------------
[2012-10-19 17:49:14 - AndroidTest] Android Launch!
[2012-10-19 17:49:14 - AndroidTest] The connection to adb is down, and a severe error has occured.
[2012-10-19 17:49:14 - AndroidTest] You must restart adb and Eclipse.
[2012-10-19 17:49:14 - AndroidTest] Please ensure that adb is correctly located at 'C:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

解决办法:

Try below steps:
Close the Eclipse if running
Go to the Android SDK platform-tools directory in Command Prompt
type 
adb
kill-server
 (Eclipse should be closed before issuing these commands)
then type adb
start-server
No error message is thrown while starting ADB server, then adb is started successfully.
Now you can start Eclipse again.

it worked for me this way.

Restart your phone as well!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android adb