在Google Play控制台中混淆了Stacktrace

时间:2019-05-28 12:09:32

标签: android deobfuscation r8

我的商店中有一些应用程序,偶尔还会看到崩溃报告。但是,即使映射文件显示为已上传,堆栈跟踪仍然保持模糊。

我正在使用Android Studio,包括新R8代码收缩器的默认设置。下面显示了堆栈跟踪的示例。

  at android.support.v4.app.Fragment.Y (Fragment.java:31)
  at android.support.v4.app.Fragment.getResources (Fragment.java)
  at com.mysoftwarecompany.myappname.PersonalInfoFragment.ca (PersonalInfoFragment.java:49)
  at com.mysoftwarecompany.myappname.PersonalInfoFragment.access$400 (PersonalInfoFragment.java)
  at com.mysoftwarecompany.myappname.PersonalInfoFragment$8.onSharedPreferenceChanged (PersonalInfoFragment.java:2)
  at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners (SharedPreferencesImpl.java:607)
  at android.app.SharedPreferencesImpl$EditorImpl.apply (SharedPreferencesImpl.java:489)
  at com.mysoftwarecompany.myappname.PersonalInfoFragment$4.onItemSelected (PersonalInfoFragment.java:39)
  at android.widget.AdapterView.fireOnSelected (AdapterView.java:947)
  at android.widget.AdapterView.dispatchOnItemSelected (AdapterView.java:936)
  at android.widget.AdapterView.access$300 (AdapterView.java:56)
  at android.widget.AdapterView$SelectionNotifier.run (AdapterView.java:901)
  at android.os.Handler.handleCallback (Handler.java:907)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:216)
  at android.app.ActivityThread.main (ActivityThread.java:7593)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)

1 个答案:

答案 0 :(得分:0)

这是因为您使用proguard启用了混淆功能。