如何重启ADB服务器

3
我使用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.
2个回答

6

在命令提示符中执行以下操作:

  • adb kill-server:停止ADB服务
  • adb start-server:启动ADB服务

重新启动您的IDE

输入"where adb.exe"并查看输出(应该是'C:\adt-bundle-windows-x86-20140702\sdk\platform-tools\adb.exe')


你能再具体解释一下吗?我对Android还很陌生。 - Furkan İlhan
我还会先从任务管理器中结束adb.exe,然后再运行您提到的命令。 - Menelaos Kotsollaris

0

前往DDMS,右侧将显示12个图标,选择重置ADB,然后重置ADB,可能会起作用。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接