我已经为我的一个应用程序添加了更新,并开始收到崩溃消息。
我已经将mapping.txt添加到Play控制台中,以获得模糊的堆栈跟踪,但它没有任何影响。我仍然收到被混淆的崩溃信息,并且Play控制台向我显示了崩溃发生后上传的消息,如反混淆文件。
但是自从我添加了mapping.txt以来,发生了多次崩溃。此外,我自己修复了其中的几个问题,并发布了一个新的应用程序版本,该版本在发布后立即添加了mapping.txt,但控制台仍显示模糊的痕迹。
有人在同一问题上用尽吗?这种奇怪行为的原因是什么,我该如何解决。预先感谢!
这是堆栈跟踪的示例:
java.lang.NullPointerException:
at notchremover.smallapps.com.notchremover.ui.ui.activities.MainActivity.d (MainActivity.java:2)
at notchremover.smallapps.com.notchremover.ui.ui.activities.MainActivityPresenter.b (MainActivityPresenter.java:16)
at notchremover.smallapps.com.notchremover.ui.ui.activities.MainActivity.a (MainActivity.java:6)
at notchremover.smallapps.com.notchremover.ui.ui.activities.MainActivity$$Lambda$4.a (MainActivity.java:4)
at notchremover.smallapps.com.notchremover.ui.ui.widgets.heightscrollbar.SeekBarWidgetKt$1.onProgressChanged (SeekBarWidgetKt.java:59)
at android.widget.SeekBar.onProgressRefresh (SeekBar.java:95)
at android.widget.ProgressBar.doRefreshProgress (ProgressBar.java:1298)
at android.widget.ProgressBar.refreshProgress (ProgressBar.java:1353)
at android.widget.ProgressBar.setProgressInternal (ProgressBar.java:1418)
at android.widget.AbsSeekBar.trackTouchEvent (AbsSeekBar.java:869)
at android.widget.AbsSeekBar.startDrag (AbsSeekBar.java:826)
at android.widget.AbsSeekBar.onTouchEvent (AbsSeekBar.java:783)
at android.view.View.dispatchTouchEvent (View.java:11789)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2970)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2657)
at com.android.internal.policy.DecorView.superDispatchTouchEvent (DecorView.java:451)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1829)
at android.app.Activity.dispatchTouchEvent (Activity.java:3371)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:2)
at com.android.internal.policy.DecorView.dispatchTouchEvent (DecorView.java:413)
at android.view.View.dispatchPointerEvent (View.java:12030)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:4866)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:4677)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4208)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4261)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4227)
at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4354)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4235)
at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:4411)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4208)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4261)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4227)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4235)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4208)
at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:6775)
at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:6747)
at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:6708)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:6883)
at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:240)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents (InputEventReceiver.java)
at android.view.InputEventReceiver.consumeBatchedInputEvents (InputEventReceiver.java:208)
at android.view.ViewRootImpl.doConsumeBatchedInput (ViewRootImpl.java:6851)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run (ViewRootImpl.java:6906)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1026)
at android.view.Choreographer.doCallbacks (Choreographer.java:838)
at android.view.Choreographer.doFrame (Choreographer.java:763)
at android.view.Choreographer$FrameHandler.handleMessage (Choreographer.java:941)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:171)
at android.app.ActivityThread.main (ActivityThread.java:6633)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:823)
答案 0 :(得分:0)
尽管我仍然没有答案,但为什么Play控制台的行为如此,这个问题的主要目的是对我的堆栈跟踪进行模糊处理并解决崩溃问题。
因此,作为一种解决方法,我不得不使用 proguardgui ,它是Android SDK的标准实用程序。 要学习如何使用它,我遵循了this guide,它非常清楚和直接,因此在这里我不需要重写它的细微差别。