Andriod SDK出现Failed to parse the output of 'adb version'问题
2015-05-29 21:12
369 查看
Andriod SDK出现Failed to parse the output of 'adb version'问题
一、问题描述
几天没有使用Eclipse,突然打开发现出现Failed to parse the output of 'adb version'.
运行android程序控制台输出
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe' and can be executed.
于是查了下可能出现的问题,现将搜到的可能造成该情形的原因和解决方案汇总一下。望大神查漏补缺。
参考:http://blog.sina.com.cn/s/blog_6c868c470100vtww.html
http://breezylee.iteye.com/blog/2032588
二、原因及解决方案
1、adb自启动有问题
可能是因为adb启动时候出现了些问题。
大致上就是重启下adb,在任务管理器下,关闭adb.exe。然后重启eclipse和adb。
2、端口占用:
可能由于其他系统占用了端口5037,导致adb无法启动。
找到占用进程,关闭。具体方法可以在命令行下,使用命令
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540
可以看出6540占用了端口,在任务管理器下,关闭该进程即可。当然需要重启eclipse和adb,可能需要手动启动adb。
3、问路径题:
可能由于某些原因,找不到adb.exe。
可以尝试将android-sdk-windows/platform-tools和android-sdk-windows/tools都加到环境变量Path中去。
4、被其他软件禁用
可能无意间被当做杀毒软件禁用了。
以上是我查到的可能的原因,但是通过以上问题我并没有解决问题。然而忽然间发现我的Andriod-SDK-Tool版本需要更新,我想会不会是这里的问题。
于是我开始了我的更新过程,不知道更新完毕会不会有所好转。
---------------------------------------------
时间是一切财富中最宝贵的财富。
—— 德奥弗拉斯多
一、问题描述
几天没有使用Eclipse,突然打开发现出现Failed to parse the output of 'adb version'.
运行android程序控制台输出
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe' and can be executed.
于是查了下可能出现的问题,现将搜到的可能造成该情形的原因和解决方案汇总一下。望大神查漏补缺。
参考:http://blog.sina.com.cn/s/blog_6c868c470100vtww.html
http://breezylee.iteye.com/blog/2032588
二、原因及解决方案
1、adb自启动有问题
可能是因为adb启动时候出现了些问题。
大致上就是重启下adb,在任务管理器下,关闭adb.exe。然后重启eclipse和adb。
2、端口占用:
可能由于其他系统占用了端口5037,导致adb无法启动。
找到占用进程,关闭。具体方法可以在命令行下,使用命令
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540
可以看出6540占用了端口,在任务管理器下,关闭该进程即可。当然需要重启eclipse和adb,可能需要手动启动adb。
3、问路径题:
可能由于某些原因,找不到adb.exe。
可以尝试将android-sdk-windows/platform-tools和android-sdk-windows/tools都加到环境变量Path中去。
4、被其他软件禁用
可能无意间被当做杀毒软件禁用了。
以上是我查到的可能的原因,但是通过以上问题我并没有解决问题。然而忽然间发现我的Andriod-SDK-Tool版本需要更新,我想会不会是这里的问题。
于是我开始了我的更新过程,不知道更新完毕会不会有所好转。
---------------------------------------------
时间是一切财富中最宝贵的财富。
—— 德奥弗拉斯多
相关文章推荐
- leetcode 11 -- Container With Most Water
- Chinese Remainder Theorem
- POJ_3421_X-factor Chains(素数筛法)
- Android快捷开关实现【http://blog.csdn.net/stevenhu_223/article/details/9052083】
- solr-DIH:dataimport增量全量创建索引
- CCNA training notes
- STM32使用J-Link烧写出错:Error: Flash Download failed - Cortex-M3
- Handler一定要在主线程实例化吗?new Handler()和new Handler(Looper.getMainLooper())的区别
- zabbix 之 zabbix-server配置邮件系统
- 【leetcode】Contains Duplicate I && II
- Host key verification failed解决
- NBUT 1118 Marisa's Affair (排序统计,水)
- 基于wait和notify的生产者消费者实例
- Contains Duplicate II
- [AIX] ksh中的命令行编辑
- leetcode 219: Contains Duplicate II
- Common realloc mistake: 'd_data' nulled but not freed upon failure
- [LeetCode] Contains Duplicate & Contains Duplicate II
- 5分钟学会AIDL
- [LeetCode]Contains Duplicate II