No announcement yet.

Android Crash on Launch except from editor

  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    For future reference, the issue was that my splash screen image was too big (Canvas: trying to draw too large(132710400bytes) bitmap.)

    Leave a comment:

  • replied
    Hey Chris,

    I have a thread going here:

    I did what you said and I've attached the unfiltered log there, however upon removing the UE4 filter, I found this but I can't understand how to fix it.


    05-31 19:53:16.480 3741-3741/com.CoffeeCupGames.QuantumBuilder D/ViewRootImpl@f5c9e9e[GameActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=2
    05-31 19:53:16.484 3741-3741/com.CoffeeCupGames.QuantumBuilder D/AndroidRuntime: Shutting down VM
                                                                                     --------- beginning of crash
    05-31 19:53:16.497 3741-3741/com.CoffeeCupGames.QuantumBuilder E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                     Process: com.CoffeeCupGames.QuantumBuilder, PID: 3741
                                                                                     java.lang.RuntimeException: Canvas: trying to draw too large(132710400bytes) bitmap.
                                                                                         at android.view.DisplayListCanvas.throwIfCannotDraw(
                                                                                         at android.view.View.getDrawableRenderNode(
                                                                                         at android.view.View.drawBackground(
                                                                                         at android.view.View.draw(
                                                                                         at android.view.View.updateDisplayListIfDirty(
                                                                                         at android.view.ThreadedRenderer.updateViewTreeDisplayList(
                                                                                         at android.view.ThreadedRenderer.updateRootDisplayList(
                                                                                         at android.view.ThreadedRenderer.draw(
                                                                                         at android.view.ViewRootImpl.draw(
                                                                                         at android.view.ViewRootImpl.performDraw(
                                                                                         at android.view.ViewRootImpl.performTraversals(
                                                                                         at android.view.ViewRootImpl.doTraversal(
                                                                                         at android.view.ViewRootImpl$
                                                                                         at android.view.Choreographer$
                                                                                         at android.view.Choreographer.doCallbacks(
                                                                                         at android.view.Choreographer.doFrame(
                                                                                         at android.view.Choreographer$
                                                                                         at android.os.Handler.handleCallback(
                                                                                         at android.os.Handler.dispatchMessage(
                                                                                         at android.os.Looper.loop(
                                                                                         at java.lang.reflect.Method.invoke(Native Method)

    Leave a comment:

  • replied
    It would help to see an unfiltered log (or with tag UE4 and DEBUG) to see the actual crash callstack. It would be best to continue this in AnswerHub.

    Leave a comment:

  • replied
    Updated with a better log.


    Leave a comment:

  • started a topic Android Crash on Launch except from editor

    Android Crash on Launch except from editor


    Since upgrading to UE4.16, I can't run the game on my android device unless I launch it on the mobile directly from the editor.

    The game launches fine if done straight from the editor (Using the launch on device button), and the game also packages OK without any errors.

    However, if I try and launch the game again from the phone after closing the game, or I try and push a build across from a full package, the game crashes on launch.

    There are no errors or warnings on the log from the phone or the editor, it just closes the app. I've updated android works and done everything else to make sure the game is up to date.

    I've attached a log of the issue. (You can ignore the GearVR warning. If I enable GearVR it removes the warning, but the crash still happens)