无法打开调试器端口

Unable to open debugger port

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

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

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

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

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

中打开项目

这对我有用两个月 返回

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

工具 > Android > 启用 ADB 集成

先禁用再启用。一切顺利