eclipse Please ensure that adb is correctly located at

本文参考:琉璃暖

问题:使用eclipse打包到真机,出现以下
eclipse Please ensure that adb is correctly located at
原因:adb.exe 5037端口被占用

解决方法:杀掉该占用程序,重启eclipse即可
命令如下

//查看5037端口,占用情况
netstat -aon|findstr 5037
//查看该端口对应的exe文件
tasklist|findstr 15388
//杀掉该exe进程,如果杀不掉就使用任务管理器强制杀掉
taskkill /f /im 360MobileLink.exe

实际操作如下:
eclipse Please ensure that adb is correctly located at
eclipse Please ensure that adb is correctly located at