# Android Crash on Launch except from editor

**URL:** <https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025>\
**Category:** Mobile\
**Tags:** UE4-16, unreal-engine, crash, Android, Packaging, question\
**Created:** [May 30, 2017, 7:05am UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025 "2017-05-30T07:05:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [May 30, 2017, 7:05am UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/1 "2017-05-30T07:05:11Z")

</div>

Hey,

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, and the game also packages ok without any errors.

However, if I try and launch it after closing the game from playing from the editor, 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’s just a crash. 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.

Thanks

link text

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [May 30, 2017, 6:29pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/2 "2017-05-30T18:29:24Z")

</div>

Updated log with just the crash.  
link text

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [May 31, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/3 "2017-05-31T18:57:46Z")

</div>

Adding unfiltered log.

Removing the UE4 filter, I found this but I don’t understand it enough:

```
                                                                             --------- 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(DisplayListCanvas.java:260)

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 31, 2017, 7:40pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/4 "2017-05-31T19:40:18Z")

</div>

Hello Piranhi,

This could be related to a bug report that I put in yesterday: [UE-45526](https://issues.unrealengine.com/issue/UE-45526). If so, please try enabling the Gear VR plugin if it is disabled. This is set to be fixed in 4.16.1 but this should be a suitable workaround in the meantime.

Edit: If enabling the plugin doesn’t help immediately, I would suggest deleting your Saved and Intermediates folders prior to attempting to package again (If you’re in a code project, you’ll also need to Generate Project Files after doing so to regenerate these folders, otherwise it’ll be done when packaging)

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [May 31, 2017, 8:41pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/5 "2017-05-31T20:41:14Z")

</div>

Hey Matthew,

I’ve tried enabling the plugin, deleting both folders and doing both a push to mobile and full re-cook and deploy, and both times I have the same issue. It runs fine if launching on the mobile from the editor, but any other way just causes it to crash.

I’ve attached another log in case anything changed this time.

Cheers,  
Chris

link text

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 31, 2017, 11:42pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/6 "2017-05-31T23:42:34Z")

</div>

About all I can see is maybe the splash screen or download background png is too high a resolution?

Canvas: trying to draw too large(132710400bytes) bitmap.

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [June 1, 2017, 5:12pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/7 "2017-06-01T17:12:01Z")

</div>

Hey Chris,

This did indeed fix the issue, thank you!

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [February 13, 2018, 3:17pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/8 "2018-02-13T15:17:54Z")

</div>

same issue on 4.18  
[https://drive.google.com/open?id=1ylD47\_XCfRIHituDzNeXzVstW2yNr2pA9-ZrM-MUgxs](https://drive.google.com/open?id=1ylD47_XCfRIHituDzNeXzVstW2yNr2pA9-ZrM-MUgxs)

---

<div class="post-metadata">

**Author:** ![Pietro2282](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pietro2282](https://forums.unrealengine.com/u/Pietro2282)\
**Post date:** [July 29, 2019, 7:28pm UTC](https://forums.unrealengine.com/t/android-crash-on-launch-except-from-editor/395025/9 "2019-07-29T19:28:05Z")

</div>

Hi, I’ve got this crash in my log:  
ProcessResult.StdOut: --------- beginning of crash  
CommandUtils.Run: Took 0,1212054s to run adb.exe, ExitCode=0  
InternalUtils.SafeFileExists: SafeFileExists C:\android-sdk-windows\platform-tools\adb.exe=True  
CommandUtils.Run: Running: C:\android-sdk-windows\platform-tools\adb.exe -s e83dda98 logcat -d  
CommandUtils.Run: Took 0,1180753s to run adb.exe, ExitCode=0
