与设备的Andr​​oid工作室调试时的Andr​​oid logcat的是空的 [英] Android Logcat is empty when debug with device in android studio

查看:151
本文介绍了与设备的Andr​​oid工作室调试时的Andr​​oid logcat的是空的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在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.

这篇关于与设备的Andr​​oid工作室调试时的Andr​​oid logcat的是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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