与设备的Andr​​oid工作室调试时的Andr​​oid logcat的是空的的是、工作室、设备、oid

2023-09-05 08:32:03 作者:与你

当我在Android的工作室使用Android设备尝试调试logcat中显示什么。但是,当我使用模拟器LogCat中显示所有邮件。在实际设备进行调试时,应该如何查看logcat的消息?

When I try to debug using android device in android studio Logcat shows nothing. But when I use emulator LogCat shows all the messages. How should view the Logcat messages when debugging on actual device?

感谢您!

推荐答案

在Android的工作室0.8.0应启用亚行通过整合工具 - > Android的,之前运行的应用程序。然后日志猫将正常工作。请注意,如果你做,而你的应用程序正在运行ADB整合禁用并重新启用它,则日志猫忽略了最低位显示任何东西,除非你重建项目。

In Android studio 0.8.0 you should enable ADB integration through Tools -> Android, before run your app. Then the log cat will work correctly. Notice that if you make ADB integration disabled while your app is running and again make it enable, then the log cat dosen't show anything unless you rebuild your project.