Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2287

App crashing on launch after install on Android N & O.

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE
    • Epic Name:
      App crash on App Launch only on Some high-end Android devices.

      Description

      App is crashing on launch after installation on Android N & O. Please refer to ANR report from Play Console.

       
      Samsung Galaxy Note8 (greatlte), 6144MB RAM, Android 7.1
      Report 1 java.lang.RuntimeException:****
       
      at android.view.DisplayListCanvas.throwIfCannotDraw (DisplayListCanvas.java:260)
      at android.graphics.Canvas.drawBitmap (Canvas.java:1420)
      at android.graphics.drawable.BitmapDrawable.draw (BitmapDrawable.java:528)
      at android.widget.ImageView.onDraw (ImageView.java:1298)
      at android.view.View.draw (View.java:18559)
      at android.view.View.updateDisplayListIfDirty (View.java:17537)
      at android.view.View.draw (View.java:18321)
      at android.view.ViewGroup.drawChild (ViewGroup.java:3946)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:3732)
      at android.view.View.updateDisplayListIfDirty (View.java:17532)
      at android.view.View.draw (View.java:18321)
      at android.view.ViewGroup.drawChild (ViewGroup.java:3946)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:3732)
      at android.view.View.updateDisplayListIfDirty (View.java:17532)
      at android.view.View.draw (View.java:18321)
      at android.view.ViewGroup.drawChild (ViewGroup.java:3946)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:3732)
      at android.view.View.draw (View.java:18562)
      at com.android.internal.policy.DecorView.draw (DecorView.java:986)
      at android.view.View.updateDisplayListIfDirty (View.java:17537)
      at android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:713)
      at android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:719)
      at android.view.ThreadedRenderer.draw (ThreadedRenderer.java:827)
      at android.view.ViewRootImpl.draw (ViewRootImpl.java:3204)
      at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:2991)
      at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2579)
      at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1569)
      at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7296)
      at android.view.Choreographer$CallbackRecord.run (Choreographer.java:930)
      at android.view.Choreographer.doCallbacks (Choreographer.java:705)
      at android.view.Choreographer.doFrame (Choreographer.java:640)
      at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:916)
      at android.os.Handler.handleCallback (Handler.java:751)
      at android.os.Handler.dispatchMessage (Handler.java:95)
      at android.os.Looper.loop (Looper.java:154)
      at android.app.ActivityThread.main (ActivityThread.java:6823)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1557)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
       
      Huawei Nexus 6P (angler), 3072MB RAM, Android 8.0
      Report 1 java.lang.RuntimeException: ****
      at android.view.DisplayListCanvas.throwIfCannotDraw (DisplayListCanvas.java:229)
      at android.view.RecordingCanvas.drawBitmap (RecordingCanvas.java:97)
      at android.graphics.drawable.BitmapDrawable.draw (BitmapDrawable.java:529)
      at android.widget.ImageView.onDraw (ImageView.java:1349)
      at android.view.View.draw (View.java:19119)
      at android.view.View.updateDisplayListIfDirty (View.java:18069)
      at android.view.View.draw (View.java:18847)
      at android.view.ViewGroup.drawChild (ViewGroup.java:4214)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4000)
      at android.view.View.updateDisplayListIfDirty (View.java:18060)
      at android.view.View.draw (View.java:18847)
      at android.view.ViewGroup.drawChild (ViewGroup.java:4214)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4000)
      at android.view.View.updateDisplayListIfDirty (View.java:18060)
      at android.view.View.draw (View.java:18847)
      at android.view.ViewGroup.drawChild (ViewGroup.java:4214)
      at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4000)
      at android.view.View.draw (View.java:19122)
      at com.android.internal.policy.DecorView.draw (DecorView.java:785)
      at android.view.View.updateDisplayListIfDirty (View.java:18069)
      at android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:643)
      at android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:649)
      at android.view.ThreadedRenderer.draw (ThreadedRenderer.java:757)
      at android.view.ViewRootImpl.draw (ViewRootImpl.java:2980)
      at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:2794)
      at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2347)
      at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1386)
      at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6733)
      at android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)
      at android.view.Choreographer.doCallbacks (Choreographer.java:723)
      at android.view.Choreographer.doFrame (Choreographer.java:658)
      at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)
      at android.os.Handler.handleCallback (Handler.java:789)
      at android.os.Handler.dispatchMessage (Handler.java:98)
      at android.os.Looper.loop (Looper.java:164)
      at android.app.ActivityThread.main (ActivityThread.java:6541)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            vikram.baghel Vikram Singh Baghel
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: