Download

Game crashing after install on Galaxy S5 and S6

Hi everyone,

I am currently trying a game on different Android devices. It runs without issues on several ones except on Galaxy ones. I’ve tried a Galaxy S5 and a Galaxy S6 and both get the same error. The App downloads fine but once they try to open it, the game just crashes. I don’t have either phone at hand and I don’t remember what was the specific error. I had those users send a crash report and this is what I got:

Device: Galaxy S6 Edge, Galaxy S5
Android Version: 5.1

java.lang.OutOfMemoryError: Failed to allocate a 132710412 byte allocation with 16777216 free bytes and 100MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:837)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:656)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1037)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:3882)
at android.content.res.Resources.loadDrawable(Resources.java:3755)
at android.content.res.Resources.getDrawable(Resources.java:1921)
at android.content.Context.getDrawable(Context.java:409)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:4288)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:4335)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:2228)
at android.app.Dialog.show(Dialog.java:293)
at com.epicgames.ue4.GameActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:6500)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3072)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3218)
at android.app.ActivityThread.access$1000(ActivityThread.java:198)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

Any advice is welcome and thanks in advance

Based on what I see in the callstack it looks like it is having trouble with the splash screen dialog. Maybe your splash screen images are bad.

Thanks will look into that and report back.

What did you find out?