Daniel Daniel - 8 months ago 28
Android Question

Are Log messages and System.out.println calls visible once an Android app is published?

I have many calls to

, which I have used for debugging, in my Android application. Are these log messages still visible to anyone who runs the production apk?


Yes. it is visible to others and retrievable using tools. You can pro grammatically check if it is in debug mode by following code,

 if (BuildConfig.DEBUG) {
    Log.d(TAG, "xxxx");

Thank you