我的应用程序一直在谷歌播放中收到崩溃报告,但我无法重现崩溃

时间:2014-03-07 17:09:18

标签: android

我每天都会收到来自Google Play的崩溃报告。我的想法已经用完了,想知道是否有任何教程或关于如何从谷歌播放堆栈报告中查找和修复错误的内容。 我做了以下

  1. 购买了正在崩溃的设备之一,Galaxy标签。试图让它崩溃,无法让它崩溃。绑在后台运行的很多应用仍然没有崩溃。
  2. 把try catch放在我的所有代码中,其中catch会显示一个通用内存低警告消息(即这确实减慢了应用程序)。 检查了我的所有返回值。
  3. 从堆栈报告中,我假设它在我的cPuzzleView类中的onTouchEvent中崩溃了。 任何帮助都是伟大的

    stack
    java.lang.NullPointerException
    at com.fairhvaenapps.toddpuzzlefree.cPuzzleView.onTouchEvent(cPuzzleView.java:653)
    at android.view.View.dispatchTouchEvent(View.java:7380)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1953)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1953)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1953)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2111)
    at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1559)
    at android.app.Activity.dispatchTouchEvent(Activity.java:2478)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2059)
    at android.view.View.dispatchPointerEvent(View.java:7560)
    at android.view.ViewRootImpl$1.doDispatch(ViewRootImpl.java:338)
    at com.lge.view.TouchEventFilter.dispatchFilteredTouchEvent(TouchEventFilter.java:131)
    at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3333)
    at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3255)
    at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4418)
    at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4397)
    at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:4506)
    at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:179)
    at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
    at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:171)
    at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:4468)
    at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:4525)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    at android.view.Choreographer.doCallbacks(Choreographer.java:562)
    at android.view.Choreographer.doFrame(Choreographer.java:530)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    at android.os.Handler.handleCallback(Handler.java:725)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5223)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
    at dalvik.system.NativeStart.main(Native Method)
    

0 个答案:

没有答案