我甚至没有写一个代码片。我使用genymotion as emulator
。但应用程序无法启动。我重新启动了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.
答案 0 :(得分:0)
在命令提示符中执行
adb kill-server
强> adb start-server
强> 重新启动IDE
输入“ where adb.exe
”&看输出(应该是'C:\ adt-bundle-windows-x86-20140702 \ sdk \ platform-tools \ adb.exe')
答案 1 :(得分:0)
转到DDMS并在右侧显示12个图标,选择重置adb将在那里,然后重置adb它将起作用