How can I get logcat on my device to show logs from all processes

前端 未结 3 761

I\'m trying to write an app that reads all logs on my device. I\'ve got a client/service architecture, and I see log messages from both the client and service processes but

3条回答
  •  渐次进展
    2021-01-04 19:29

    On Android 4.1+, you can only access log messages logged by your process, unless you hold the READ_LOGS permission. That permission requires either that your app be signed by the same signing key that signed the device's firmware, or that your app is installed on the system partition.

提交回复
热议问题