您的当前位置:首页正文

eclipse在虚拟机运行不了android程序解决方法

2024-08-01 来源:知网教育

eclipse在虚拟机运行android程序报错如下:(推荐:)

[2014-06-05 20:08:42 - SortListView] ------------------------------

[2014-06-05 20:08:42 - SortListView] Android Launch!

[2014-06-05 20:08:42 - SortListView] The connection to adb is down, and a severe error has occured.

[2014-06-05 20:08:42 - SortListView] You must restart adb and Eclipse.

[2014-06-05 20:08:42 - SortListView] Please ensure that adb is correctly located at 'F:\sdk\sdk\platform-tools\adb.exe' and can be executed.

解决方法:

1、检查系统进程是否有“adb.exe”,有的话,就关掉,然后重启Eclipse

2、第一种方法不行的话,可以运行“cmd”进到sdk文件夹的platform-tools文件夹,输入

[color=red]adb kill-server

adb start-server[/color]

最后重启Eclipse,这应该就可以了。

更多python知识请关注。