简体   繁体   English

混淆了Google Play开发者控制台中的堆栈顶部跟踪

[英]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. 我们已将映射文件上载到Google Play开发者控制台,并且大部分堆栈跟踪均已清除。 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. 请参阅下面的跟踪中的avt.b(int)

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)

You can upload an APK to Alpha with proguard disabled and see the stacktrace. 您可以在禁用了proguard的情况下将APK上传到Alpha,并查看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. 这样,您就不会在不混淆代码的情况下将任何APK上传到正式版本。

在proguard文件中禁用混淆:

-dontobfuscate

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM