Can't bind to local XXXX for debugger

后端 未结 7 2523
闹比i
闹比i 2021-02-20 10:02

I keep getting the Can\'t bind to local XXXX for debugger message in console, but not for 1 port, for all random ports. I have done what\'s stated in this question,

相关标签:
7条回答
  • 2021-02-20 10:10

    If you got the error like "Can't bind to local 8700 for debugger" in android studio then just close the emulator and then open the emulator again, this time you mustn't seen the error, this happens to me

    0 讨论(0)
  • 2021-02-20 10:22

    In my case, this problem was caused by AVG antivirus. I tried adding exceptions and shutting it down only for development but that didn't work. I uninstalled it and the problem was solved after a restart.

    0 讨论(0)
  • 2021-02-20 10:27

    I had same problem and none of given solutions worked. Then I have uninstalled all JRE 7 and installed latest JRE 6 (http://www.oracle.com/technetwork/java/javase/downloads/jre6downloads-1902815.html). It have immediately fixed the problem.

    0 讨论(0)
  • 2021-02-20 10:27

    For Mac: Check your /etc/hosts file. Ensure that there is no any local ip for localhost. I added and forgot that i added a local ip (ex: 192.168.2.1) for localhost.

    0 讨论(0)
  • 2021-02-20 10:31

    C:\WINDOWS\system32\drivers\etc\host

    And should contain this line :

    127.0.0.1       localhost 
    

    If you have ipv6 ip address ::1 in your host file you need to delete or remark it.

    0 讨论(0)
  • 2021-02-20 10:32

    This might not be so constructive but I would recommend installing Linux. :-)

    On the more serious side: Install VMWare or VirtualBox and run it in from a virtual machine with e.g. Ubuntu as OS. You can easily map your USB drive to the virtual machine.

    0 讨论(0)
提交回复
热议问题