- Home /
app just closes right after i open it?
i been working on this mobile app android and everything was working fine then i put admob and 8 new textures in it and when i open it up it will stay open 1/10 of the times i open it, other than that i just closes, im not sure what the problem could be, i have an old version with GPGS and IAB in it and i put it back on and it still works perfectly but right when i put admob and 8 Textures 512X256 it closes 9/10 of the times i open it, thank you for your time
10-07 13:32:06.761: I/ActivityManager(207): Process jacs.apps.E (pid 8340) has died.
10-07 13:32:06.769: W/ActivityManager(207): Force removing ActivityRecord{41eab768 jacs.apps.E/com.prime31.UnityPlayerNativeActivity}: app died, no saved state
10-07 13:32:06.769: W/WindowManager(207): Force-removing child win Window{417484e0 SurfaceView paused=false} from container Window{41be0000 jacs.apps.E/com.prime31.UnityPlayerNativeActivity paused=false}
10-07 13:32:06.784: W/WindowManager(207): Failed looking up window
10-07 13:32:06.784: W/WindowManager(207): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@41a96ab0 does not exist
10-07 13:32:06.784: W/WindowManager(207): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7189)
10-07 13:32:06.784: W/WindowManager(207): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7180)
10-07 13:32:06.784: W/WindowManager(207): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1551)
10-07 13:32:06.784: W/WindowManager(207): at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
10-07 13:32:06.784: W/WindowManager(207): at dalvik.system.NativeStart.run(Native Method)
i just put up the log, i just got it, idk what to make of it though
I never worked with this tools. But this IllegalArgumentException is not a good thing. Someone (you or the api) are passing illegal arguments, so, are using it wrong.
Android logs are terrible.
Try to figure out what happens with this window that didn't exists anymore. Searching in log or adding some debug messages.
You could try to replace your 512 textures with 32 to see if is a out of memory problem.
in the unity console it says Unable to find unity activity in manifest. You need to make sure orientation attribut is set to landscape manually. do you think that might be the problem, its a warning not an error
i replaced the 512x256's with 16x16 and it didnt stop anymore, this menu i have has probably 50 512x256 thats probably what it is, gota figure something out
Answer by zakaria98 · Jun 26, 2019 at 08:44 PM
Hi, have you corrected the problem? I also close the application immediately when I open it from install admob. and I can not fix it. I apologize if I do not write well, I speak Spanish and I'm using Google translate to translate.