我有一个非常随机发生的错误,所以我依靠从 Play 商店购买的 LogCat
监控应用程序来查看发生时在我的设备上抛出的异常。自从使用 Jelly Bean 以来,我没有看到任何日志记录。我读过,使用 Jelly Bean,应用程序只能看到其自身的 LogCat
输出。
所以除了对我的设备进行 root 之外,有什么方法可以直接在我的手机上读取我的应用程序的 LogCat
输出?我知道我可以使用 Eclipse,但是,正如我所说,它是随机发生的,我无法手动重新创建它。
最佳答案
So outside of rooting my device, is there any way to read the LogCat output of my app on my phone directly?
不是真的。您可以阅读关于 aLogcat bugtracker 的讨论关于这个问题:
After doing some reading and some testing, I've found three ways to make aLogcat work, all of which use root.
关于READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)的更详细讨论
关于android - 在 JellyBean 上使用 LogCat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12407797/