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
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!
[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开发入门常见错误
- Android开发常见错误及技巧
- eclipse开发Android程序时一些常见问题与错误提示
- Android入门:部署时的常见错误
- Android入门:部署时的常见错误
- android开发之常见编译错误(一)
- Eclipse搭建Android开发环境之ADT安装常见错误及解决方法
- Android开发常见错误-ing
- 记录android开发常见的错误
- Android开发入门常见问题:模拟器启动及Eclipse报错
- 配置Android开发环境常见错误解决办法(陆续添加)“your project contains error(s),please fix them before running your application”.
- Android开发常见错误及技巧
- Android开发入门常见问题:模拟器启动及Eclipse报错
- Android开发常见错误及技巧
- 常见android开发错误整理(陆续补充中...)
- Android 开发常见错误
- 安卓-开发常见错误之AndroidManifest.xml file missing
- Android开发-----NDK开发中的一些常见错误及解决办法
- Android开发常见错误收集
- Android 开发常见错误 及 解决办法