在我的测试项目中,我可以运行我的应用程序,但无法调试它,当我运行我的应用程序时,apply changes and restart activity
按钮和 apply code changes
被禁用,report app
未检测到。
在应用程序窗口中,它会显示一个带有以下消息的对话框
application .... is waiting for the debugger to attach.
我尝试了以下操作:
选择要调试的应用
android:debuggable="true"
在清单中
构建中
debug
{
debuggable true
}
尝试 adb kill server 并重新启动它