android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be exe
16lz
2021-01-24
遇到问题描述:
运行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:\java\sdk\platform-tools\adb.exe' and can be executed.
发现adb 启动不了。之前一直都好好,所有环境应该是没问题,那应该就是有冲突或什么的了。
网上很多都说kill 掉adb 然后重启,但是我发现adb根本就没有启动。
解决方法:
1.于是查看了下adb的默认端口5037 是否被其他应用占用:
cmd2.查看下是被哪个进程占用:
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 1292
果然被占用了
tasklist|findstr "1292"
tadb.exe 1292 Console 0 3,564 K
发现被tadb.exe占用tadb.exe 是腾讯的连接安卓设备的驱动进程 果断结束掉,并删除
3.重启eclipse
发现还是不行???????
4.再次按以上步骤查看
发现5037端口又被360手机助手占用 ,这尼玛的。。。比土匪还土匪
果断删除
5.再次重启eclipse
终于一切恢复正常。。。。高高兴兴的coding.....
以上可能并不适合所有人,只是本人解决的一个记录,如果有什么其他解决办法还请多指教
更多相关文章
- android studio 4.0. gradle 4.0. tinker集成报错
- Android(安卓)音乐播放器 下一曲 连续跳几首歌
- android studio 导入eclipse项目 兼容性问题
- textview cannot be resolved to a type 解决方法
- Android(安卓)混淆 Unknown verification type
- java.lang.NoClassDefFoundError错误解决方法
- Android(安卓)Studio 运行出现 Multiple dex files define Landr
- android发现之旅之ViewRootImpl,Activity,Window,DecorView之间
- Android中的广播也定向