调试无法在Android Studio中运行

时间:2016-03-04 02:24:47

标签: android debugging android-studio

我无法在Android Studio中调试我的应用。它始终显示此消息

Warning: debug info can be unavailable. Please close other application using ADB: Monitor, DDMS, Eclipse
Restart ADB integration and try again
Waiting for process: com.#######

我无法通过任何方法进行调试,无论是运行时还是在调试模式下启动应用程序。

3 个答案:

答案 0 :(得分:0)

你是否在Android方面转过程?该选项现在隐藏在后门背后。

然后Windows需要驱动程序,Linux不需要驱动程序,同样可能但我不知道去Mac OS X.已经包含了Nexuses的Windows驱动程序。

答案 1 :(得分:0)

我正在编写的这个方法适用于windows:

1 - 您需要使用制造商的网站获取设备的驱动程序。 (ADB驱动程序)。这是调试的必要条件,它似乎是你的问题所在。如果您使用像Genymotion这样的模拟器,请跳过此步骤。 2 - 从开发人员选项启用USB调试。 3 - 连接您的设备。

答案 2 :(得分:0)

显示错误消息 警告:调试信息可能不可用。请使用ADB关闭其他应用程序:Monitor,DDMS,Eclipse

您正在运行正在使用ADB连接的Eclipse程序。因此,首先关闭Eclipse程序并在Android Studio中尝试调试,如果问题仍然存在,请重新启动Android Studio或重新启动计算机