Daniel Daniel - 1 year ago 72
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download