【问题标题】:Unable to open debugger port无法打开调试器端口
【发布时间】:2017-03-11 11:18:23
【问题描述】:

我的Android EmulatorWaiting For Debugger 模式下冻结,我的应用程序无法运行(我安装了 HAXM)。在我的调试控制台中写下这条消息

W/ActivityThread: Application turbotec.mpas is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk

这是虚拟设备的全貌和发生的错误:

【问题讨论】:

    标签: android debugging android-emulator


    【解决方案1】:

    工具 > Android > 启用 ADB 集成

    禁用然后启用。一切都好

    【讨论】:

    • 重启亚行的好方法
    【解决方案2】:

    清除包含对我有用的配置信息的 Intellij IDEA (Android Studio) .idea 目录:

    退出 Android Studio 导航到您尝试调试的项目 备份您修改的 .idea 中的所有文件(如果您的项目将其中任何一个检查到 VCS 中) 删除 .idea 目录 在 Android Studio 中打开项目

    这对我有用两个月 返回

    同时检查计算机上同一端口上运行的任何其他进程并终止它

    【讨论】:

    • 感谢您的回答。如果我重新启动我的 android 模拟器,它将再次正常工作,但我想知道是什么导致这种情况再次发生。
    • 我猜是一些防火墙问题让这种情况发生.. 找不到真正的原因
    猜你喜欢
    • 1970-01-01
    • 2017-03-27
    • 2012-09-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-04
    • 2020-02-23
    • 2015-12-16
    相关资源
    最近更新 更多