I am a beginner in Android Development. When I run my app in emulator ,i can see logs of my app in Logcat. But when I run the same app in android device, No logs filed in Catlog app. Can anyone tell me what i have missed here?

有帮助吗?

解决方案

For security reasons, apps can only read their own logs starting from 4.1 on an unrooted device:

https://code.google.com/p/android/issues/detail?id=34792

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top