If I package for Android ASTC it works fine on my Nexus 9. If I package for Android Multi it crashes after the splash screen.
I’ve just tested it on my Samsung Galaxy S4 and it’s the same (crashes on the Multi at the same point).
When it crashes the logcat output is:
05-01 11:42:30.107: I/ActivityManager(557): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.SafeFromRobots.Picsaw2/com.epicgames.ue4.SplashActivity (has extras)} from uid 10022 on display 0
05-01 11:42:30.108: D/audio_hw_primary(223): out_set_parameters: enter: usecase(0: playback) kvpairs: routing=2 out->devices(2) adev->mode(0)
05-01 11:42:30.142: I/ActivityManager(557): Start proc 13084:com.SafeFromRobots.Picsaw2/u0a474 for activity com.SafeFromRobots.Picsaw2/com.epicgames.ue4.SplashActivity
05-01 11:42:30.292: I/ActivityManager(557): START u0 {flg=0x10000 cmp=com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity (has extras)} from uid 10474 on display 0
05-01 11:42:30.334: W/linker(13084): /data/app/com.SafeFromRobots.Picsaw2-1/lib/arm/libUE4.so: is missing DT_SONAME will use basename as a replacement: "libUE4.so"
05-01 11:42:30.482: I/ActivityManager(557): START u0 {flg=0x10000 cmp=com.SafeFromRobots.Picsaw2/.DownloaderActivity} from uid 10474 on display 0
05-01 11:42:30.507: W/InputMethodManagerService(557): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@8c9d4d (uid=10474 pid=13084)
05-01 11:42:30.743: W/InputMethodManagerService(557): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@8c9d4d (uid=10474 pid=13084)
05-01 11:42:32.551: A/libc(13084): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xab854000 in tid 13100 (PoolThread 0)
05-01 11:42:32.557: E/(220): tid 13100 does not exist in pid 13084. ignoring debug request
05-01 11:42:32.607: I/WindowState(557): WIN DEATH: Window{59a0111 u0 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity}
05-01 11:42:32.608: W/InputDispatcher(557): channel '792c149 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
05-01 11:42:32.611: E/InputDispatcher(557): channel '792c149 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-01 11:42:32.614: I/WindowState(557): WIN DEATH: Window{db4cf14 u0 SurfaceView}
05-01 11:42:32.616: I/WindowState(557): WIN DEATH: Window{792c149 u0 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity}
05-01 11:42:32.616: W/InputDispatcher(557): Attempted to unregister already unregistered input channel '792c149 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity (server)'
05-01 11:42:32.653: I/Zygote(229): Process 13084 exited due to signal (11)
05-01 11:42:32.654: I/ActivityManager(557): Process com.SafeFromRobots.Picsaw2 (pid 13084) has died
05-01 11:42:32.656: W/ActivityManager(557): Force removing ActivityRecord{a132fd9 u0 com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity t115}: app died, no saved state
05-01 11:42:32.844: D/ConnectivityService(557): updateNetworkScore for NetworkAgentInfo [WIFI () - 109] to 56
05-01 11:42:35.866: D/ConnectivityService(557): notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 109]
05-01 11:42:35.881: D/ConnectivityService(557): updateNetworkScore for NetworkAgentInfo [WIFI () - 109] to 60
05-01 11:42:39.769: I/Keyboard.Facilitator.LanguageModelFlusher(1262): run()
05-01 11:42:39.774: I/Keyboard.Facilitator(1262): flushDynamicLanguageModels()
05-01 11:42:39.839: I/ConfigService(1436): onCreate
05-01 11:42:41.915: D/ConnectivityService(557): notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 109]
When it worked on my Nexus 9 with ASTC package it was like:
05-01 11:46:47.332: D/audio_hw_primary(223): out_set_parameters: enter: usecase(0: playback) kvpairs: routing=2 out->devices(2) adev->mode(0)
05-01 11:46:47.333: I/ActivityManager(557): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.SafeFromRobots.Picsaw2/com.epicgames.ue4.SplashActivity (has extras)} from uid 10022 on display 0
05-01 11:46:47.369: D/NetlinkSocketObserver(557): NeighborEvent{elapsedMs=414551646, 192.168.1.1, [30B5C26301C0], RTM_NEWNEIGH, NUD_REACHABLE}
05-01 11:46:47.382: D/AudioFlinger(223): mixer(0xab9a2170) throttle end: throttle time(10)
05-01 11:46:47.385: I/ActivityManager(557): Start proc 13346:com.SafeFromRobots.Picsaw2/u0a475 for activity com.SafeFromRobots.Picsaw2/com.epicgames.ue4.SplashActivity
05-01 11:46:47.546: I/ActivityManager(557): START u0 {flg=0x10000 cmp=com.SafeFromRobots.Picsaw2/com.epicgames.ue4.GameActivity (has extras)} from uid 10475 on display 0
05-01 11:46:47.579: W/linker(13346): /data/app/com.SafeFromRobots.Picsaw2-1/lib/arm/libUE4.so: is missing DT_SONAME will use basename as a replacement: "libUE4.so"
05-01 11:46:47.857: I/ActivityManager(557): START u0 {flg=0x10000 cmp=com.SafeFromRobots.Picsaw2/.DownloaderActivity} from uid 10475 on display 0
05-01 11:46:47.874: W/InputMethodManagerService(557): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@17fdf06 (uid=10475 pid=13346)
05-01 11:46:47.949: I/art(557): Background partial concurrent mark sweep GC freed 39815(2MB) AllocSpace objects, 1(20KB) LOS objects, 33% free, 27MB/41MB, paused 915us total 125.769ms
05-01 11:46:48.162: I/Keyboard.Facilitator(1262): onFinishInput()
05-01 11:46:48.232: I/ActivityManager(557): Displayed com.SafeFromRobots.Picsaw2/.DownloaderActivity: +357ms (total +4m18s101ms)
05-01 11:46:48.545: I/Keyboard.Facilitator(1262): onFinishInput()
05-01 11:46:51.170: I/Keyboard.Facilitator(1262): onFinishInput()
05-01 11:46:51.174: I/CwMcuSensor(557): CwMcuSensor::flush: fd = 151, sensors_id = 0, path = /sys/class/htc_sensorhub/sensor_hub/flush, err = 0
Any ideas?
I really would rather avoid making multiple different packages, it seems like that’s going to be an enormous pain to set up and maintain.
Cheers,
Tom Macneil