简体   繁体   中英

Android Studio waiting for the debugger to attach

I'm searching now for three hours and didn't found any solution...

Things I tried:

  • Edit the manifest with the "DEBUG" thing
  • Restart
  • Enable port in firewall
  • Clear cache
  • Debug without breakpoints
  • Try other emulator device
  • Remove emulator device
  • Activate "Wait for debug" option in the emulator device

And programming without debugging is sometimes really hard.

I hope someone can help me with this...

Greetz

Try to restart the ADB tool. Go to Android SDK folder (/platform-tools/) and then run:

Windows:

adb.exe kill-server adb.exe start-server

Mac & Linux:

./adb kill-server ./adb start-server

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