运行Android应用时提示ADB是否存在于指定路径问题
2014-06-28 11:48
316 查看
打开eclipse,选择指定的Android应用工程并Run,提示:
[2014-06-28 11:32:26 - LinearLayout] The connectionto adb is down, and a severe error has occured.
[2014-06-28 11:32:26 - LinearLayout] You mustrestart adb and Eclipse.
[2014-06-28 11:32:26 - LinearLayout] Please ensurethat adb is correctly located at 'D:\ADT bundle\sdk\platform-tools\adb.exe' andcan be executed.
参考
http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/
解决问题的总结如下:
(1) 退出eclipse。
(2) 去对应的adb所在目录下,打开cmd,执行adb.exe kill-server先杀掉adb(虽然在windows任务管理器中没有看到adb.exe正在运行),然后执行adbstart-server重启启动adb,如下图:
图1
(3) 重启eclipse就OK了。
去掉之前在classpath中增加的路径D:\ADT bundle\sdk\platform-tools;D:\ADT bundle\sdk\tools,也OK,所以问题不在这里,应该是ADB本身存在bug,因为之前我不需要做其他设置也可以正常使用的。
另一个相关链接:http://lele9001.blog.163.com/blog/static/339734201392924258443/
[2014-06-28 11:32:26 - LinearLayout] The connectionto adb is down, and a severe error has occured.
[2014-06-28 11:32:26 - LinearLayout] You mustrestart adb and Eclipse.
[2014-06-28 11:32:26 - LinearLayout] Please ensurethat adb is correctly located at 'D:\ADT bundle\sdk\platform-tools\adb.exe' andcan be executed.
参考
http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/
解决问题的总结如下:
(1) 退出eclipse。
(2) 去对应的adb所在目录下,打开cmd,执行adb.exe kill-server先杀掉adb(虽然在windows任务管理器中没有看到adb.exe正在运行),然后执行adbstart-server重启启动adb,如下图:
图1
(3) 重启eclipse就OK了。
去掉之前在classpath中增加的路径D:\ADT bundle\sdk\platform-tools;D:\ADT bundle\sdk\tools,也OK,所以问题不在这里,应该是ADB本身存在bug,因为之前我不需要做其他设置也可以正常使用的。
另一个相关链接:http://lele9001.blog.163.com/blog/static/339734201392924258443/
相关文章推荐
- 运行Android应用时提示ADB是否存在于指定路径问题
- Linux应用随笔(五)64位Debian8兼容运行32位adb开发android应用,并解决手机驱动问题
- Android 检查应用包名是否存在并启动或安装指定包名
- 关于VS2008 中添加成员变量提示 此网站的某个加载项运行失败 请检查“Internet选项”中的安全设置是否存在潜在冲突 问题解决办法
- 请教一个问题,Android应用运行时在调用某个API(比如相机)时,系统如何判断这个应用是否具备相应的权限?
- 关于Android中AdbWinApi.dll没有被指定在Windows上运行,或者它包含错误的问题解决
- eclipse运行android程序提示“Please ensure ..... /sdk/platform-tools/adb' and can be executed”问题的解决
- 请教一个问题,Android应用运行时在调用某个API(比如相机)时,系统如何判断这个应用是否具备相应的权限?
- 请教一个问题,Android应用运行时在调用某个API(比如相机)时,系统如何判断这个应用是否具备相应的权限?
- eclipse运行android程序提示“Please ensure ..... /sdk/platform-tools/adb' and can be executed”问题的解决
- 关于VS2008 中添加成员变量提示 此网站的某个加载项运行失败 请检查“Internet选项”中的安全设置是否存在潜在冲突 问题解决办法
- Android中判断应用运行时是否有网络连接并弹出对话框提示
- android平台下运行dx.bat,提示“系统找不到指定路径”
- Android虚拟机启动后,设备视图无设备。运行项目提示Please ensure that adb is correctly located at …问题的解决方法
- 为什么/usr/local/apache2/bin/apxs明明存在,安装module的时候总是提示请指定有效的apxs路径呢?
- android 获取路径目录方法以及判断目录是否存在,创建目录
- android检测手机是否有某个应用以及启动安装另一个应用的问题
- access函数测试指定路径中是否有某个文件存在
- android 获取路径目录方法以及判断目录是否存在,创建目录 (转)
- (android实战)判断当前task中的运行的activity是否为当前应用