为什么Android Studio中说"等待调试器和QUOT;如果我不调试? [英] Why Android Studio says "Waiting For Debugger" if am NOT debugging?

查看:473
本文介绍了为什么Android Studio中说"等待调试器和QUOT;如果我不调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与Android工作室工作。从昨晚开始,当我运行我的项目我的设备上,显示的消息等待调试器。这是一个非常奇怪的现象,因为我没有调试应用程序。

I am working with Android Studio. Since last night, when I Run my project on my device, appear the message "Waiting For Debugger". It is a very strange behavior because I am not debugging application.

我试图从Android的工作室我的设备和preSS运行卸载应用程序。再次出现的消息。

I've tried to uninstall application from my device and press Run on Android Studio. The message appears again.

我试图重新启动Android的工作室。再次出现的消息。

I've tried to restart Android Studio. The message appears again.

到我的手机上正确安装应用程序的唯一方法是,以preSS调试。出现消息,但其自动关闭。然后应用程序正常工作。

The only way to properly install application on my phone is to press "Debug". The message appears but its automatically closed. Then application works fine.

我要疯了!?

我试着

<application android:debuggable="false" />

...并仍显示错误信息。

... and still the message appears.

LogCat中说:

E/InputDispatcher﹕ channel ~ Channel is unrecoverably broken and will be disposed!
E/Launcher﹕ Error finding setting, default accessibility to not found: accessibility_enabled

在第一次错误行的问候,<一个href=\"http://stackoverflow.com/questions/12459719/why-i-am-getting-error-channel-is-unrecoverably-broken-and-will-be-disposed\">someone说,可以在问题的一些资源的重命名后开始。但它不是我的情况。

Regards on first error line, someone says that the problems can starts after renaming of some resource. But its not my case.

这是第二个错误行的问候,......我不知道。我真的不知道会发生什么我的IDE。

Regards on second error line, ... I dont know. I really dont know what happens to my IDE.

推荐答案

我已经遇到了这个问题,在过去和今天再次。在我的情况下,问题是由设备重启解决。干净启动后,我可以再次运行应用程序和等待调试器的提示不会出现。

I've ran into this issue in the past and again today. In my case the problem is resolved by a device reboot. After a clean boot I can again run the application and the "Waiting for Debugger" prompt does not appear.

这篇关于为什么Android Studio中说&QUOT;等待调试器和QUOT;如果我不调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆