Can't Bind To Local 8700 For Debugger Android Studio

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, but with no luck. I'm running Windows 8. In fact, these problems started after the upgrade to Windows 8.

我不断得到Can't绑定到本地XXXX用于控制台的调试器消息,但不是针对所有随机端口的1个端口。我已经做了这个问题中所说的,但是没有运气。我运行Windows 8。事实上,这些问题始于升级到Windows 8之后。

Nov 02, 2012 I keep getting the Can't bind to local XXXX for debugger message in console, but not for 1 port, for. Can't bind to local 8700 for debugger' in android studio then. Android DDMS: Can't bind to local 8600 for debugger 이클립스 오류 메세지 (0) 2014.01.19 Android 안드로이드 Hello World! 출력하기, 삼성 갤럭시 통합 USB 드라이버 (0) 2014.01.03 Android 안드로이드 시스템/네이티브 어플리케이션 권한, System App Permission (0) 2013.10.21.

What can I do?

我能做什么?

Edit
I've tried a new install of the Android SDK, and a new Eclipse install. I've also tried to turn off my firewall.

Can

我已经尝试了Android SDK的新安装,以及一个新的Eclipse安装。我还试图关闭防火墙。

7 个解决方案

#1

5

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.

我遇到了同样的问题,没有一个解决方案奏效。然后我卸载了所有的JRE 7并安装了最新的JRE 6 (http://www.oracle.com/technetwork/java/javase/downloads/jre6downloads-1902815.html)。它立即解决了这个问题。

#2

3

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.

Can't Bind To Local 8700 For Debugger

在我的例子中,这个问题是由AVG杀毒软件引起的。我尝试添加异常,并只为了开发而关闭它,但没有成功。我卸载了它,问题在重新启动后得到了解决。

#3

1

C:WINDOWSsystem32driversetchost

C:WINDOWSsystem32driversetchost

And should contain this line :

并且应该包含这一行:

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

Can't Bind To Local 8700 For Debugger Android Studio Software

如果你有ipv6 ip地址::1在你的主机文件中,你需要删除或注释它。

Can't Bind To Local 8700 For Debugger Android Studio 2

#4

0

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

这可能不是很有建设性,但我建议安装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.

更严重的是:安装VMWare或VirtualBox,并在虚拟机上运行,例如Ubuntu作为OS。您可以轻松地将USB驱动器映射到虚拟机。

#5

0

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.

Mac:检查你的/etc/hosts文件。确保本地主机没有任何本地ip。我添加了一个本地ip(例如:192.168.2.1)给localhost。

#6

0

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

Can

如果在android studio中出现“无法绑定到本地8700 for debugger”这样的错误,那么只需关闭仿真器,然后再次打开仿真器,这一次您一定没有看到错误,我也遇到过这种情况

#7

Can't Bind To Local 8700 For Debugger Android Studio Windows 10

0

Open platform-tools in cmd and run these two commands

Can't Bind To Local 8700 For Debugger Android Studio 2017

在cmd中打开平台工具并运行这两个命令

C:UsersSH-PC-W8.1-3AppDataLocalAndroidSdkplatform-tools

当地C:Users SH-PC-W8.1-3 AppData Android Sdk 平台工具

This works perfectly.

这是完美的。

Note: choose your platform-tools location

注意:选择平台工具的位置