the_new_mr
the_new_mr

Reputation: 3733

Top of stack trace in Google Play Developer Console is obfuscated

We've uploaded our mapping file to the Google Play Developer console and most of the stack trace is deobfuscated. However, the top part seems to still be obfuscated in some traces (not all).

Anyone know why this could be and what we could do to fix it?

See avt.b(int) in trace below.

java.lang.NullPointerException: Attempt to invoke virtual method 'void avt.b(int)' on a null object reference
at com.ourdomain.ourapp.ui.fragments.rewards.OurFragment.onClicked(OurFragment.java)
                                                                 onReceiveLocalBroadcastIntent(OurFragment.java)
                                                                 removeTrip(OurFragment.java)
                                                                 getMapData(OurFragment.java)
                                                                 notifyDataAvailable(OurFragment.java)
                                                                 onTripDBCallBack(OurFragment.java)
                                                                 access$008(OurFragment.java)
at com.ourdomain.ourapp.ui.fragments.rewards.OurFragment.onClicked(OurFragment.java)
                                                                 onReceiveLocalBroadcastIntent(OurFragment.java)
                                                                 removeTrip(OurFragment.java)
                                                                 getMapData(OurFragment.java)
                                                                 notifyDataAvailable(OurFragment.java)
                                                                 onTripDBCallBack(OurFragment.java)
                                                                 access$008(OurFragment.java)

Upvotes: 0

Views: 157

Answers (2)

Nelson Almendra
Nelson Almendra

Reputation: 881

You can upload an APK to Alpha with proguard disabled and see the stacktrace.

release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }

This way you don't upload any APK to production without the code being obfuscated.

Upvotes: 1

Oleg K
Oleg K

Reputation: 5268

disable obfuscation in proguard file:

-dontobfuscate

Upvotes: 0

Related Questions