eclipse在虚拟机运行不了android程序解决方法
eclipse在虚拟机运行android程序报错如下:(推荐:eclipse使用教程)
[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:sdksdkplatform-toolsadb.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知识请关注python教程。
来源:PY学习网:原文地址:https://www.py.cn/article.html