如何重启ADB服务器

Fur*_*han 3 java eclipse android adb genymotion

我用的genymotion是模拟器。我重新启动了 eclipse 并且adb已正确定位,但应用程序未启动。

这是错误:

[2014-12-13 14:57:52 - Serbay] ------------------------------    
[2014-12-13 14:57:52 - Serbay] Android Launch! 
[2014-12-13 14:57:52 - Serbay] The connection to adb is down, and a severe error has    occured. 
[2014-12-13 14:57:52 - Serbay] You must restart adb and    Eclipse. 
[2014-12-13 14:57:52 - Serbay] Please ensure that adb is    correctly located at    'C:\adt-bundle-windows-x86-20140702\sdk\platform-tools\adb.exe' and    can be executed.
Run Code Online (Sandbox Code Playgroud)

Don*_*pan 6

在命令提示符下执行

  • adb kill-server
  • adb start-server

重新启动你的IDE

输入“ where adb.exe”并查看输出(应为“C:\adt-bundle-windows-x86-20140702\sdk\platform-tools\adb.exe”)