- Home /
Question by
JoeD86 · Mar 22, 2020 at 06:28 PM ·
androidandroid buildcrashing
Android apk crashes before it even shows the logo
I'm trying to figure out why a game I'm working on for Android crashes before it can even see the logo. I tap the icon and then nothing at all happens. I'm running the game in Unity 2017.4.38f1. I ran the debugger from my Command Prompt and this is what I got;
03-21 20:41:58.236 1112 1653 I ActivityManager: START u0 {act=android.intent.a
ction.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.furystu
dio.ragewar cmp=com.furystudio.ragewar/com.google.firebase.MessagingUnityPlayerA
ctivity} from uid 10022
03-21 20:41:58.241 1112 1653 I ActivityManager: ActivityRecord info: ActivityI
nfo{f2d2de7 com.google.firebase.MessagingUnityPlayerActivity}
03-21 20:41:58.282 1112 1653 V ActivityManager: startProcess: name=com.furystu
dio.ragewar app=null knownToBeDead=true thread=null pid=-1
03-21 20:41:58.326 1112 1653 I ActivityManager: Start proc 28241:com.furystudi
o.ragewar/u0a697 for activity com.furystudio.ragewar/com.google.firebase.Messagi
ngUnityPlayerActivity
03-21 20:41:58.328 1112 1653 V ActivityManager: startProcess: name=com.furystu
dio.ragewar app=ProcessRecord{b9e7f00 28241:com.furystudio.ragewar/u0a697} known
ToBeDead=true thread=null pid=28241
03-21 20:41:58.422 1112 1280 I ActivityManager: Config changes=480 {1.30001 31
0mcc260mnc [en_US] ldltr sw360dp w679dp h336dp 480dpi nrml long land finger -key
b/v/h -nav/h appBounds=Rect(0, 0 - 2039, 1080) nonFullScreen=0 suim:4 s.70}
03-21 20:41:58.476 1112 1280 I ActivityManager: Override config changes=480 {1
.30001 310mcc260mnc [en_US] ldltr sw360dp w679dp h336dp 480dpi nrml long land fi
nger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 2039, 1080) nonFullScreen=0 suim:4 s
.70} for displayId=0
03-21 20:41:58.670 1112 1438 D ActivityManager: ActivityManagerService,attachA
pplication,callingPid = 28241
03-21 20:41:58.795 1112 1438 W ActivityManager: Slow operation: 125ms so far,
now at attachApplicationLocked: after mServices.attachApplicationLocked
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping, home or recents stac
k task: TaskRecord{8eda188 #1 A=com.huawei.android.launcher U=0 StackId=0 sz=1}
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:flg=0x10804000
cmp=com.android.systemui/.recents.RecentsActivity bnds=[48,1457][1032,2943]
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:flg=0x10800000
cmp=com.android.systemui/.usb.HwUsbDebuggingActivity
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:act=android.in
tent.action.DELETE dat=package:com.furystudio.ragewar flg=0x10800000 cmp=com.goo
gle.android.packageinstaller/com.android.packageinstaller.UninstallerActivity
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:flg=0x58800000
cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageWarningD
ialog
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:act=android.in
tent.action.MAIN flg=0x10840000 cmp=com.android.incallui/.InCallActivity
03-21 20:41:58.853 1112 7147 D ActivityManager: Skipping intent:flg=0x10840000
hwFlg=0x100 cmp=com.android.deskclock/.alarmclock.LockAlarmFullActivity
03-21 20:41:59.194 1112 1438 W ActivityManager: Force finishing activity com
.furystudio.ragewar/com.google.firebase.MessagingUnityPlayerActivity
03-21 20:41:59.253 1112 1438 I ActivityManager: Process com.furystudio.ragewar
(pid 28241) has died: fore TOP
03-21 20:41:59.255 1112 1438 D ActivityManager: cleanUpApplicationRecord app:
ProcessRecord{b9e7f00 28241:com.furystudio.ragewar/u0a697}, app.bad: false, rest
arting: false, allowRestart: true
03-21 20:41:59.303 1112 1438 I ActivityManager: Config changes=480 {1.30001 31
0mcc260mnc [en_US] ldltr sw360dp w360dp h655dp 480dpi nrml long port finger -key
b/v/h -nav/h appBounds=Rect(0, 0 - 1080, 2038) nonFullScreen=0 suim:4 s.71}
03-21 20:41:59.330 1112 1438 I ActivityManager: Override config changes=480 {1
.30001 310mcc260mnc [en_US] ldltr sw360dp w360dp h655dp 480dpi nrml long port fi
nger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 2038) nonFullScreen=0 suim:4 s
.71} for displayId=0
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping, home or recents stac
k task: TaskRecord{8eda188 #1 A=com.huawei.android.launcher U=0 StackId=0 sz=1}
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:flg=0x10804000
cmp=com.android.systemui/.recents.RecentsActivity bnds=[48,1457][1032,2943]
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:flg=0x10800000
cmp=com.android.systemui/.usb.HwUsbDebuggingActivity
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:act=android.in
tent.action.DELETE dat=package:com.furystudio.ragewar flg=0x10800000 cmp=com.goo
gle.android.packageinstaller/com.android.packageinstaller.UninstallerActivity
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:flg=0x58800000
cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageWarningD
ialog
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:act=android.in
tent.action.MAIN flg=0x10840000 cmp=com.android.incallui/.InCallActivity
03-21 20:41:59.557 1112 5167 D ActivityManager: Skipping intent:flg=0x10840000
hwFlg=0x100 cmp=com.android.deskclock/.alarmclock.LockAlarmFullActivity
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping, home or recents stac
k task: TaskRecord{8eda188 #1 A=com.huawei.android.launcher U=0 StackId=0 sz=1}
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:flg=0x10804000
cmp=com.android.systemui/.recents.RecentsActivity bnds=[48,1457][1032,2943]
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:flg=0x10800000
cmp=com.android.systemui/.usb.HwUsbDebuggingActivity
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:act=android.in
tent.action.DELETE dat=package:com.furystudio.ragewar flg=0x10800000 cmp=com.goo
gle.android.packageinstaller/com.android.packageinstaller.UninstallerActivity
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:flg=0x58800000
cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageWarningD
ialog
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:act=android.in
tent.action.MAIN flg=0x10840000 cmp=com.android.incallui/.InCallActivity
03-21 20:41:59.569 1112 5167 D ActivityManager: Skipping intent:flg=0x10840000
hwFlg=0x100 cmp=com.android.deskclock/.alarmclock.LockAlarmFullActivity
03-21 20:41:59.763 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
03-21 20:41:59.764 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
03-21 20:41:59.837 1112 7147 I ActivityManager: Killing 27556:com.android.gall
ery3d:search/u0a20 (adj 906): empty #17
03-21 20:41:59.893 1112 4936 D ActivityManager: cleanUpApplicationRecord app:
ProcessRecord{184a1a1 27556:com.android.gallery3d:search/u0a20}, app.bad: false,
restarting: false, allowRestart: true
03-21 20:42:00.006 1112 1112 I ActivityManager: Killing 27775:com.metago.astro
:remote/u0a170 (adj 906): empty #17
03-21 20:42:00.134 1112 4936 D ActivityManager: cleanUpApplicationRecord app:
ProcessRecord{187696c 27775:com.metago.astro:remote/u0a170}, app.bad: false, res
tarting: false, allowRestart: true
03-21 20:42:00.396 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
03-21 20:42:00.396 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
03-21 20:42:00.636 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
03-21 20:42:00.636 1112 1112 W ActivityManager: Sending non-protected broadcas
t huawei.intent.action.hideHiResIcon from system uid 1000 pkg null
I've tried removing Firebase since it's not really something we're using right now, but it's still reading it, and I'm feeling pretty sure that Firebase could be a culprit in this.
Comment
Answer by carldevelopsforcoffee · Nov 04, 2020 at 10:03 AM
Firebase is the culprit. The custom activity com.google.firebase.MessagingUnityPlayerActivity is blocking the main UnityPlayerActivity from starting (or from receiving the notification).
Your answer
![](https://koobas.hobune.stream/wayback/20220612225452im_/https://answers.unity.com/themes/thub/images/avi.jpg)