阅读从Android的所有应用程序日志,从内部为Android的应用程序4.2+应用程序、日志、Android

2023-09-13 23:59:35 作者:荒住着两个诚

我相信已经有改变方式的应用程序可以后的And​​r​​oid 4.2读取日志。但我想知道我是否可以从Android版的当前版本的应用程序读取所有包括logcat的系统日志日志?如果是的话它需要一定的权限,或不?

I believe there have been changes to the ways apps can read logs in android post 4.2. But I wanted to know if I can read all the logs including system logs from logcat from within an app for current versions of android? If yes does it need some permission or not?

推荐答案

除非你根植你不能因为果冻豆做到这一点。看到这个 Android的bug报告这的