在eclipse上运行安卓源码的时候报错
学习开发安卓的时候,在eclipse运行网上下载的源码的时候提示如下报错,实在是不知道怎么办了,请各位帮帮忙
[2013-12-11 21:38:04 - MediaPlayerProject] Unable to resolve target 'android-4'
[2013-12-11 21:38:24 - MediaPlayerProject] ------------------------------
[2013-12-11 21:38:24 - MediaPlayerProject] Android Launch!
[2013-12-11 21:38:24 - MediaPlayerProject] The connection to adb is down, and a severe error has occured.
[2013-12-11 21:38:24 - MediaPlayerProject] You must restart adb and Eclipse.
[2013-12-11 21:38:24 - MediaPlayerProject] Please ensure that adb is correctly located at 'C:\Users\571864\android-sdks\platform-tools\adb.exe' and can be executed.
[解决办法]
虚拟机没连上吧。
[解决办法]
这个解决方法是重启adb和eclipse以及android虚拟机
[解决办法]
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'C:\Users\571864\android-sdks\platform-tools\adb.exe' and can be executed.
楼主,注意看报错信息啊!
首先确定你已经把sdk 和jdk配置到了环境变量中
配置好之后,打开任务管理器,看看有没有adb.exe进程,有的话杀掉,再重启Eclipse
[解决办法]