
eclipse Android 项目工程一运行就出现这样的错误这是为什么
Theconnectiontoadbisdown,andasevereerrorhasoccured.[2015-09-2711:40:08-hehe]Youmustre...
The connection to adb is down, and a severe error has occured.
[2015-09-27 11:40:08 - hehe] You must restart adb and Eclipse.
[2015-09-27 11:40:08 - hehe] Please ensure that adb is correctly located at 'D:\workresouce\android-sdk-windows\platform-tools\adb.exe' and can be executed.
我确定了的这个adb文件就在那个位置上,为什么还报错呢
还有一个就是我在写C语言头文件后,旁边有个问号,这是为什么? 展开
[2015-09-27 11:40:08 - hehe] You must restart adb and Eclipse.
[2015-09-27 11:40:08 - hehe] Please ensure that adb is correctly located at 'D:\workresouce\android-sdk-windows\platform-tools\adb.exe' and can be executed.
我确定了的这个adb文件就在那个位置上,为什么还报错呢
还有一个就是我在写C语言头文件后,旁边有个问号,这是为什么? 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏30(财富值+成长值)
1个回答
展开全部
有程序占用了adb的端口,adt自带的adb端口功能比较弱,如果你的电脑装了360腾讯豌豆荚之类的手机管理软件,他们的程序都带有类似功能**adb.exe,解决方法如下:
1、CMD命令窗口输入:adb nodaemon server 。然后就会提示你哪个端口被占用了。
2、输入netstat -ano | findstr "5037" 。然后会弹出提示告诉你哪些进程占用了该端口,记住非0地址的后面的数字
3、打开任务管理器,点击“进程“,“查看”-“选择列”,勾选PID
4、查找第2步中看到的数字PID,然后结束相关进程,即可
1、CMD命令窗口输入:adb nodaemon server 。然后就会提示你哪个端口被占用了。
2、输入netstat -ano | findstr "5037" 。然后会弹出提示告诉你哪些进程占用了该端口,记住非0地址的后面的数字
3、打开任务管理器,点击“进程“,“查看”-“选择列”,勾选PID
4、查找第2步中看到的数字PID,然后结束相关进程,即可
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询