Вопрос

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