美文网首页
Android Studio 无法debug,无法打开profi

Android Studio 无法debug,无法打开profi

作者: 半截铅笔 | 来源:发表于2019-08-15 17:32 被阅读0次

问题: 提示 bind local 8600(8601,8602) port failed

解决方法:

  1. 重启adb 服务
adb kill-server
adb start-server

2.检查端口占用

//mac os
lsof -i:8600

如果没有返回,则表示没有占用,否则强杀端口

kill -9 xxx //xxx 为 8600 所对应的pid 

3.检查本地host是否有问题
我是因为使用软件,导致本地的host变更。
保证以下配置即可

127.0.0.1   localhost
255.255.255.255 broadcasthost
::1             localhost

相关文章

网友评论

      本文标题:Android Studio 无法debug,无法打开profi

      本文链接:https://www.haomeiwen.com/subject/sfxtsctx.html