简体   繁体   English

Android Studio等待调试器附加

[英]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 使用“ DEBUG”编辑清单
  • 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. 尝试重新启动ADB工具。 Go to Android SDK folder (/platform-tools/) and then run: 转到Android SDK文件夹(/ platform-tools /),然后运行:

Windows: 视窗:

adb.exe kill-server adb.exe start-server adb.exe杀死服务器adb.exe启动服务器

Mac & Linux: Mac和Linux:

./adb kill-server ./adb start-server ./adb kill-server ./adb启动服务器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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