Read logs from all apps on android from within an app for android 4.2+

Unless you rooted you cannot do this since Jelly Bean. See this Android bug report and this related discussion. Quote: The change is that third party applications can no longer get the read logs permission, however every app can read the logs containing only the lines they have written, without needing any permission. Keep in … Read more

Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”

you have missed the Fingerprint Certificate Authorization dialog in your phone when you connected it, try to change the USB mode to Media, or another different than the one you have in and then reconnect your device, or go to Developer Options -> Revoke USB Debugging and reconnect, watch for the dialog and click on … Read more

Disable LogCat Output COMPLETELY in release Android app?

You can use ProGuard to remove completely any lines where a return value is not used, by telling ProGuard to assume that there will be no problems. The following proguard.cfg chunk instructs to remove Log.d, Log.v and Log.i calls. -assumenosideeffects class android.util.Log { public static *** d(…); public static *** w(…); public static *** v(…); … Read more