0

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

我正在使用 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)
4

1 回答 1

0

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

于 2019-05-28T12:11:23.557 回答