简体   繁体   中英

Unable to open debugger port

My Android Emulator freezes in Waiting For Debugger mode and my Application fails to run(i have HAXM installed). In my debug console write this message

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

and here is the whole picture of virtual device and error occurred:

在此处输入图片说明

Tools > Android > Enable ADB Integration

Disable then enable. All's good

Clearing the Intellij IDEA (Android Studio) .idea directory which contains configuration information worked for me:

Exit Android Studio Navigate to the project you are trying to debug Backup any files inside .idea that you modified (if your project checks any of these into VCS) Delete .idea directory Open the project in Android Studio

This worked for me two months Back

Also Check any other process running in your computer on same port and kill it

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM