有时候运行Android项目的时候会出现以下的问题:
[2011-11-22 15:17:07 - HelloWorld] ------------------------------
[2011-11-22 15:17:07 - HelloWorld] Android Launch!
[2011-11-22 15:17:07 - HelloWorld] The connection to adb is down, and a severe error has occured.
[2011-11-22 15:17:07 - HelloWorld] You must restart adb and Eclipse.
[2011-11-22 15:17:07 - HelloWorld] Please ensure that adb is correctly located at 'C:\Android\android-sdk\platform-tools\adb.exe' and can be executed.
出现以上这种情况,是因为某些时候,android项目被强制关闭或者崩溃了,导致adb.exe运行不正常,这时候只重启eclipse还不行,应该直接把adb.exe进程重启,在任务管理器找到adb.exe,并且结束之!,然后再重启eclipse,然后再运行就好了
出现以上这种情况,是因为某些时候,android项目被强制关闭或者崩溃了,导致adb.exe运行不正常,这时候只重启eclipse还不行,应该直接把adb.exe进程重启,在任务管理器找到adb.exe,并且结束之!,然后再重启eclipse,然后再运行就好了
No comments:
Post a Comment