Android: Crash in early game stage, which has no corresponding iOS crash

Hi,

while our iOS port is pretty nice already and does crash very seldom if it crashes at all, we have problems with the android port of our game.

It just happens when tapping into a text field at very early stage of the game.

Please see attached the log. Maybe someone has an idea?

02-18 03:01:29.128  8512 10589 E WakeLock: GCM_HB_ALARM release without a matched acquire!
02-18 03:01:29.156  2176  2176 E KeyguardIndication: computeIndication mHandler.sendMessageDelayed
02-18 03:01:34.455  1776  1824 E ActivityManager: ANR in com.lenovo.weather.theme.dreamlandPad
02-18 03:01:34.455  1776  1824 E ActivityManager: PID: 13753
02-18 03:01:34.455  1776  1824 E ActivityManager: Reason: Context.startForegroundService() did not then call Service.startForeground()
02-18 03:01:34.455  1776  1824 E ActivityManager: Load: 0.0 / 0.0 / 0.0
02-18 03:01:34.455  1776  1824 E ActivityManager: CPU usage from 150835ms to 0ms ago (2020-02-18 02:59:03.449 to 2020-02-18 03:01:34.284):
02-18 03:01:34.455  1776  1824 E ActivityManager:   0.4% 2176/com.android.systemui: 0.4% user + 0% kernel / faults: 9121 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0.3% 1776/system_server: 0.1% user + 0.1% kernel / faults: 703 minor 2 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0.1% 5309/com.microsoft.office.outlook: 0% user + 0% kernel / faults: 371 minor 11 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0.1% 8512/com.google.android.gms.persistent: 0.1% user + 0% kernel / faults: 1696 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 13695/kworker/0:3: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 13433/kworker/1:1: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 328/mmc-cmdqd/0: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 10452/kworker/u8:0: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 10647/kworker/u8:4: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 3/ksoftirqd/0: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 2160/VosMCThread: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 13164/com.google.android.youtube: 0% user + 0% kernel / faults: 20 minor 18 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 10674/com.android.vending:instant_app_installer: 0% user + 0% kernel / faults: 42 minor 20 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 18/ksoftirqd/1: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 1641/zygote64: 0% user + 0% kernel / faults: 131 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 2162/VosRXThread: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 2372/com.android.phone: 0% user + 0% kernel / faults: 55 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 5531/com.tblenovo.lewea: 0% user + 0% kernel / faults: 229 minor 1 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 7/rcu_preempt: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 8/rcu_sched: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 10/rcuop/0: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 49/msm_watchdog: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 294/irq/273-7824900: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 330/kworker/0:1H: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 333/ueventd: 0% user + 0% kernel / faults: 5 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 355/servicemanager: 0% user + 0% kernel / faults: 19 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 444/[email protected]: 0% user + 0% kernel / faults: 37 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 460/healthd: 0% user + 0% kernel / faults: 84 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 502/sensors.qcom: 0% user + 0% kernel / faults: 48 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 1578/jbd2/dm-0-8: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 1635/nvram_cc: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 1636/hq_ftm: 0% user + 0% kernel / faults: 3 minor
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 1662/cnss-daemon: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 2195/wlan_logging_th: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 13013/com.google.android.music:main: 0% user + 0% kernel / faults: 44 minor 61 major
02-18 03:01:34.455  1776  1824 E ActivityManager:   0% 13445/kworker/3:1: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager:  +0% 13753/com.lenovo.weather.theme.dreamlandPad: 0% user + 0% kernel
02-18 03:01:34.455  1776  1824 E ActivityManager: 0.6% TOTAL: 0.2% user + 0.1% kernel + 0.2% iowait + 0% softirq
02-18 03:01:34.455  1776  1824 E ActivityManager: CPU usage from 2926333ms to 2926333ms ago (1970-01-01 01:00:00.000 to 1970-01-01 01:00:00.000) with 0% awake:
02-18 03:01:34.455  1776  1824 E ActivityManager: 0% TOTAL: 0% user + 0% kernel
02-18 03:03:57.233  2651  2651 E libc    : Access denied finding property "ro.product.name"
02-18 03:04:16.836  1649  2660 E         : Couldn't opendir /data/app/vmdl1620140135.tmp: No such file or directory
02-18 03:04:16.836  1649  2660 E installd: Failed to delete /data/app/vmdl1620140135.tmp: No such file or directory
02-18 03:04:16.878 12751 12751 E AccessCtrlService(0): PackageAddedRecevice event
02-18 03:04:16.879  2372  2372 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
02-18 03:04:16.880  2372  2372 E PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC
02-18 03:04:16.881 12751 12751 E AccessCtrlService(0): packageName com.pixelracoons.piratefantasy
02-18 03:04:16.956 12751 12751 E mAllApps.size(): 35
02-18 03:04:16.956 12751 12751 E mAppList.size(): 209
02-18 03:04:16.967 12751 12751 E AccessCtrlService(0): Set APP uid 10158
02-18 03:04:16.967 12751 12751 E AccessCtrlService(0): PackageAddedRecevice event
02-18 03:04:16.968 12751 12751 E AccessCtrlService(0): packageName com.pixelracoons.piratefantasy
02-18 03:04:16.969 12751 12751 E AccessCtrlService(0): Set APP uid 10158
02-18 03:04:17.249   456   481 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
02-18 03:04:17.252  1776  5094 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
02-18 03:04:17.254   456   481 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
02-18 03:04:17.258  1776  5094 E ActivityManager: William-Debug:setTaskFromReuseOrCreateNewTask--> notifyTaskCreateLocked
02-18 03:04:17.266  1776  5094 E ActivityTrigger: activityStartTrigger: not whiteListedcom.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity/1309
02-18 03:04:17.267  1776  5094 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity/1309
02-18 03:04:17.965  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.apps.maps-6PHlk-Nt5BCub7xJS83BHA==/base.apk
02-18 03:04:17.966  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.apps.maps-6PHlk-Nt5BCub7xJS83BHA==/base.apk
02-18 03:04:17.967  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gms-aSWFenLI51VNqP5i7ylm-w==/base.apk
02-18 03:04:17.968  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gms-aSWFenLI51VNqP5i7ylm-w==/base.apk
02-18 03:04:17.968  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gms-aSWFenLI51VNqP5i7ylm-w==/base.apk
02-18 03:04:17.969  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gm-tjBbJAOzP1q2o0nzUpW5_A==/base.apk
02-18 03:04:17.969  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gm-tjBbJAOzP1q2o0nzUpW5_A==/base.apk
02-18 03:04:17.970  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.google.android.gm-tjBbJAOzP1q2o0nzUpW5_A==/base.apk
02-18 03:04:17.975  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.kiloo.subwaysurf-umpYz_1abKuuqdBOg3XVqQ==/base.apk
02-18 03:04:17.975  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.kiloo.subwaysurf-umpYz_1abKuuqdBOg3XVqQ==/base.apk
02-18 03:04:17.975  2176  2646 E ResourcesManager: failed to add asset path /data/app/com.kiloo.subwaysurf-umpYz_1abKuuqdBOg3XVqQ==/base.apk
02-18 03:04:29.069   444   444 E QCOM PowerHAL: Invalid hint ID.
02-18 03:04:29.200   442   442 E qdlights: set_light_battery g_battery
02-18 03:04:29.200   442   442 E qdlights: set_light_batterystate->color = -65536
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  red = 255 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  green = 0 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  blue = 0 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  onMS = 0 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  offMS = 0 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  blink1111 = 0 
02-18 03:04:29.200   442   442 E qdlights: set_light_battery  blink2222 = 0 
02-18 03:04:29.223  2176  2176 E KeyguardIndication: computeIndication mHandler.sendMessageDelayed
02-18 03:04:29.274  2176  2176 E KeyguardIndication: computeIndication mHandler.sendMessageDelayed
02-18 03:04:29.402   442   442 E qdlights: set_light_battery8
02-18 03:04:30.322  2176  2176 E KeyguardIndication: computeIndication mHandler.sendMessageDelayed
02-18 03:04:30.346 11852 11910 E WorkerLoader: No worker found for Worker ID [trainingcache].
02-18 03:04:32.724  2176  2176 E LoopRotarySwitchView: isScroll=false
02-18 03:04:32.747  2176  2176 E LoopRotarySwitchView: isScroll=false
02-18 03:04:32.862  2176  2176 E StatusBar: onTrackingStopped !expandfalse
02-18 03:04:32.862  2176  2176 E StatusBar: onTrackingStopped !mUnlockMethodCache.canSkipBouncer()true
02-18 03:04:33.642  2176  2176 E LoopRotarySwitchView: isScroll=false
02-18 03:04:33.682  2176  2176 E LoopRotarySwitchView: isScroll=false
02-18 03:04:33.920  2176  2176 E StatusBar: onTrackingStopped !expandtrue
02-18 03:04:33.921  2176  2176 E StatusBar: onTrackingStopped !mUnlockMethodCache.canSkipBouncer()true
02-18 03:04:33.921  2176  2176 E StatusBar: onTrackingStopped onTrackingStopped
02-18 03:04:33.921  2176  2176 E StatusBar: onTrackingStopped 2
02-18 03:04:33.921  2176  2176 E StatusBar: onTrackingStopped 4Andreas Drewke
02-18 03:04:34.364  1776  1824 E ActivityManager: ANR in com.lenovo.weather.theme.dreamlandPad
02-18 03:04:34.364  1776  1824 E ActivityManager: PID: 13910
02-18 03:04:34.364  1776  1824 E ActivityManager: Reason: Context.startForegroundService() did not then call Service.startForeground()
02-18 03:04:34.364  1776  1824 E ActivityManager: Load: 0.0 / 0.0 / 0.0
02-18 03:04:34.364  1776  1824 E ActivityManager: CPU usage from 30689ms to 0ms ago (2020-02-18 03:04:03.541 to 2020-02-18 03:04:34.230):
02-18 03:04:34.364  1776  1824 E ActivityManager:   41% 1776/system_server: 24% user + 16% kernel / faults: 71824 minor 172 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   8.3% 2651/adbd: 1.7% user + 6.5% kernel / faults: 52214 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   8.1% 2176/com.android.systemui: 7.1% user + 0.9% kernel / faults: 26431 minor 152 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   6.8% 8602/com.google.android.gms: 5.1% user + 1.6% kernel / faults: 7657 minor 1203 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   5% 13783/kworker/u8:2: 0% user + 5% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   4.7% 349/logd: 1% user + 3.7% kernel / faults: 1334 minor 485 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   3.5% 10647/kworker/u8:4: 0% user + 3.5% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   2.6% 123/kswapd0: 0% user + 2.6% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   2.5% 10292/kworker/u8:3: 0% user + 2.5% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 440/[email protected]: 0% user + 0% kernel / faults: 299 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   1.6% 8512/com.google.android.gms.persistent: 1% user + 0.6% kernel / faults: 5226 minor 23 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 11852/com.google.android.googlequicksearchbox:search: 0% user + 0% kernel / faults: 6550 minor 414 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   1.1% 7070/com.android.vending: 0.7% user + 0.3% kernel / faults: 4457 minor 1099 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.8% 468/surfaceflinger: 0.3% user + 0.4% kernel / faults: 733 minor 4 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.7% 328/mmc-cmdqd/0: 0% user + 0.7% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.4% 10452/kworker/u8:0: 0% user + 0.4% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.3% 2888/com.lenovo.launcher: 0.1% user + 0.1% kernel / faults: 3689 minor 79 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.3% 5309/com.microsoft.office.outlook: 0% user + 0.2% kernel / faults: 1500 minor 2016 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.3% 13792/kworker/0:0: 0% user + 0.3% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.2% 13433/kworker/1:1: 0% user + 0.2% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.2% 3/ksoftirqd/0: 0% user + 0.2% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.2% 293/cfinteractive: 0% user + 0.2% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.1% 7/rcu_preempt: 0% user + 0.1% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 330/kworker/0:1H: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.1% 1578/jbd2/dm-0-8: 0% user + 0.1% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0.1% 2160/VosMCThread: 0% user + 0.1% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 5081/com.lenovo.lsf.device: 0% user + 0% kernel / faults: 1131 minor 188 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 13646/android.process.acore: 0% user + 0% kernel / faults: 824 minor 295 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 445/[email protected]: 0% user + 0% kernel / faults: 275 minor 6 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 467/lmkd: 0% user + 0% kernel / faults: 31 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1649/installd: 0% user + 0% kernel / faults: 180 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1660/wificond: 0% user + 0% kernel / faults: 239 minor 3 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 13164/com.google.android.youtube: 0% user + 0% kernel / faults: 631 minor 759 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 10/rcuop/0: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 29/rcuop/2: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 355/servicemanager: 0% user + 0% kernel / faults: 143 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1641/zygote64: 0% user + 0% kernel / faults: 476 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 2162/VosRXThread: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 10674/com.android.vending:instant_app_installer: 0% user + 0% kernel / faults: 200 minor 282 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 10774/com.android.defcontainer: 0% user + 0% kernel / faults: 1230 minor 281 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 10803/com.android.musicfx: 0% user + 0% kernel / faults: 645 minor 148 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 10812/com.android.keychain: 0% user + 0% kernel / faults: 512 minor 198 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 13589/com.google.android.gm: 0% user + 0% kernel / faults: 327 minor 249 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 21/rcuop/1: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 37/rcuop/3: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 208/kgsl_worker_thr: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 442/[email protected]: 0% user + 0% kernel / faults: 129 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 449/[email protected]: 0% user + 0% kernel / faults: 356 minor 1 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 456/[email protected]: 0% user + 0% kernel / faults: 261 minor 17 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1347/irq/258-408000.: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1584/cnd: 0% user + 0% kernel / faults: 257 minor 9 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1657/netd: 0% user + 0% kernel / faults: 154 minor
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 1682/lowi-server: 0% user + 0% kernel / faults: 443 minor 10 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 2161/VosTXThread: 0% user + 0% kernel
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 2231/wpa_supplicant: 0% user + 0% kernel / faults: 268 minor 13 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 2372/com.android.phone: 0% user + 0% kernel / faults: 937 minor 10 major
02-18 03:04:34.364  1776  1824 E ActivityManager:   0% 2780/com.lenovo.ue.device: 0% user + 0% kernel /
02-18 03:04:36.931  1776  2133 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity/1309
02-18 03:04:37.284   431  6618 E msm8916_platform: platform_check_backends_match: Invalid snd_device = 
02-18 03:04:37.370  1776  1831 E ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
02-18 03:04:37.388 13885 13951 E libEGL  : validate_display:92 error 3008 (EGL_BAD_DISPLAY)
02-18 03:04:37.463  2810  2810 E LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suilst
02-18 03:04:37.488   357   357 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.perf::IPerf pid=8757 scontext=u:r:mediaprovider:s0:c512,c768 tcontext=u:object_r:hal_perf_hwservice:s0 tclass=hwservice_manager permissive=0
02-18 03:04:37.553   357   357 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.perf::IPerf pid=8757 scontext=u:r:mediaprovider:s0:c512,c768 tcontext=u:object_r:hal_perf_hwservice:s0 tclass=hwservice_manager permissive=0
02-18 03:04:37.560  8757  8757 E ANDR-PERF: IPerf::tryGetService failed!
02-18 03:04:38.429   468  1263 E SurfaceFlinger: Failed to find layer (Background for - SurfaceView - com.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity#0) in layer parent (no-parent).
02-18 03:04:38.432   468   835 E SurfaceFlinger: Failed to find layer (SurfaceView - com.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity#0) in layer parent (no-parent).
02-18 03:04:48.980 13885 13951 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 13951 (SDLThread), pid 13885 (SDLActivity)
02-18 03:04:49.117 14074 14074 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-18 03:04:49.117 14074 14074 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-X304F/X304F:8.1.0/OPM1.171019.026/S001016_190329_ROW:user/release-keys'
02-18 03:04:49.117 14074 14074 F DEBUG   : Revision: '0'
02-18 03:04:49.117 14074 14074 F DEBUG   : ABI: 'arm64'
02-18 03:04:49.117 14074 14074 F DEBUG   : pid: 13885, tid: 13951, name: SDLThread  >>> com.pixelracoons.piratefantasy <<<
02-18 03:04:49.117 14074 14074 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
02-18 03:04:49.117 14074 14074 F DEBUG   :     x0   0000000000000000  x1   000000000000367f  x2   0000000000000006  x3   0000000000000008
02-18 03:04:49.117 14074 14074 F DEBUG   :     x4   0000000000000005  x5   0000000000000005  x6   0000000000000005  x7   7f7f7f7f7fffff7f
02-18 03:04:49.117 14074 14074 F DEBUG   :     x8   0000000000000083  x9   464ddb118a481532  x10  0000000000000000  x11  0000000000000001
02-18 03:04:49.117 14074 14074 F DEBUG   :     x12  ffffffffffffffff  x13  0000000000000000  x14  ffffffffffffffff  x15  aaaaaaaaaaaaaaab
02-18 03:04:49.117 14074 14074 F DEBUG   :     x16  0000005cbfc72fa8  x17  0000007e4b5c2518  x18  000000001bb520c8  x19  000000000000363d
02-18 03:04:49.117 14074 14074 F DEBUG   :     x20  000000000000367f  x21  0000007da2e9b1e0  x22  0000000000000002  x23  0000007da7930be8
02-18 03:04:49.117 14074 14074 F DEBUG   :     x24  0000007da7930bf0  x25  0000007da7930bf8  x26  0000007db0ac5b98  x27  0000000000000001
02-18 03:04:49.117 14074 14074 F DEBUG   :     x28  0000000000000000  x29  0000007da7930b20  x30  0000007e4b577d78
02-18 03:04:49.117 14074 14074 F DEBUG   :     sp   0000007da7930ae0  pc   0000007e4b577d94  pstate 0000000060000000
02-18 03:04:49.157 14074 14074 F DEBUG   : 
02-18 03:04:49.157 14074 14074 F DEBUG   : backtrace:
02-18 03:04:49.157 14074 14074 F DEBUG   :     #00 pc 000000000001dd94  /system/lib64/libc.so (abort+104)
02-18 03:04:49.157 14074 14074 F DEBUG   :     #01 pc 000000000050ad80  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so (_Unwind_SetGR+16)
02-18 03:04:49.158 14074 14074 F DEBUG   :     #02 pc 00000000004efa18  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so (__gxx_personality_v0+180)
02-18 03:04:49.158 14074 14074 F DEBUG   :     #03 pc 00000000022d00c4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #04 pc 00000000022d03e8  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so (_Unwind_RaiseException+252)
02-18 03:04:49.158 14074 14074 F DEBUG   :     #05 pc 00000000022ba178  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so (__cxa_throw+104)
02-18 03:04:49.158 14074 14074 F DEBUG   :     #06 pc 00000000022097c4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #07 pc 0000000002198028  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #08 pc 00000000000d0ebc  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #09 pc 00000000000f0bd4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #10 pc 00000000000f59dc  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #11 pc 000000000128bbb4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #12 pc 0000000000dcd354  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #13 pc 0000000001eda474  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #14 pc 0000000001ee1658  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #15 pc 0000000001ee7474  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #16 pc 0000000001ee7670  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #17 pc 00000000021b6bbc  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #18 pc 00000000007ee63c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #19 pc 0000000001c7f838  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #20 pc 0000000000c950cc  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #21 pc 0000000001edab08  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #22 pc 00000000019307c8  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #23 pc 00000000019347d4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #24 pc 000000000192e8b4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #25 pc 0000000001939284  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #26 pc 00000000019393d0  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #27 pc 00000000021b7e80  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.158 14074 14074 F DEBUG   :     #28 pc 0000000000a87da4  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #29 pc 000000000194ed1c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #30 pc 000000000194ec1c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #31 pc 0000000000a86000  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #32 pc 00000000015ba4a0  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #33 pc 000000000204eb38  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #34 pc 000000000204ee08  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #35 pc 00000000021b6588  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #36 pc 0000000002199e18  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #37 pc 00000000000a649c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #38 pc 000000000010871c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #39 pc 00000000001088b8  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #40 pc 0000000000106970  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #41 pc 00000000000c710c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #42 pc 000000000204cd14  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #43 pc 0000000000a7c328  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #44 pc 0000000000daca48  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #45 pc 0000000000dab314  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #46 pc 000000000216cd80  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so
02-18 03:04:49.159 14074 14074 F DEBUG   :     #47 pc 000000000216cc20  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/libApplicationMain.so (hxcpp_main+56)
02-18 03:04:49.159 14074 14074 F DEBUG   :     #48 pc 000000000048f76c  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/lib/arm64/liblime.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+484)
02-18 03:04:49.159 14074 14074 F DEBUG   :     #49 pc 0000000000003774  /data/app/com.pixelracoons.piratefantasy-aolUSZm0nA0JJm_KAzW2bg==/oat/arm64/base.odex (offset 0x2000)
02-18 03:04:50.911  1725  1725 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_03
02-18 03:04:50.927  1776 14075 E ActivityManager: William-Debug:moveToFront -->notifyFocusedTaskChangedLocked
02-18 03:04:50.952   467   467 E lowmemorykiller: Error writing /proc/13885/oom_score_adj; errno=22
02-18 03:04:51.003  1776  2104 E InputDispatcher: channel '4ed43f6 com.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
02-18 03:04:51.003   468   548 E SurfaceFlinger: Failed to find layer (SurfaceView - com.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity#1) in layer parent (no-parent).
02-18 03:04:51.003   468   548 E SurfaceFlinger: Failed to find layer (Background for - SurfaceView - com.pixelracoons.piratefantasy/com.pixelracoons.piratefantasy.MainActivity#1) in layer parent (no-parent).
02-18 03:04:51.013  1776  2133 E ActivityManager: William-Debug:removeTask-->notifyTaskClosedLocked

Any help is highly appreciated.

Many thanx and

Best regards
Andreas

Wait if running the game in iOS with “c++ exception throw” breakpoints the debugger reports an exception too, but it seems to be handled. Is there maybe a difference between SDL on iOS and on Android?

What is your project.xml’s meta title data?

Hi, the meta tag looks like:

<meta title="Pirate Fantasy" package="com.pixelracoons.piratefantasy" version="1.0.0" company="Pixel Racoons GmbH" />

This looks like an out of memory issue

Hi can you please hint me to the line in the log that would indicate a out of memory issue?

this one is an indicator that the device was running low on memory and started terminating processes.

1 Like

Hi, I found out what the real issue is:

2020-02-26 10:01:40.389 11597-11698/com.pixelracoons.piratefantasy W/System.err: java.lang.NoSuchMethodError: no static method "Lorg/haxe/lime/GameActivity;.updateSystemUI()V"
2020-02-26 10:01:40.391 11597-11698/com.pixelracoons.piratefantasy W/System.err:     at org.libsdl.app.SDLActivity.nativeRunMain(Native Method)
2020-02-26 10:01:40.391 11597-11698/com.pixelracoons.piratefantasy W/System.err:     at org.libsdl.app.SDLMain.run(SDLActivity.java:1590)
2020-02-26 10:01:40.392 11597-11698/com.pixelracoons.piratefantasy W/System.err:     at java.lang.Thread.run(Thread.java:764)

And indeed this method “Lorg/haxe/lime/GameActivity;.updateSystemUI()V” is really missing in my lime release.

I just can not test to comment the call to the method out, because when trying to compile lime I get the following error:

Andreass-MBP-2:lime andreas$ lime rebuild android -armv7 -release -clean
x86 Platform: 16
arm Platform: 16
x86_64 Platform: 21
arm_64 Platform: 21
Frameworks should set the minSdkVersion for each APK to these values.
**Compiling group: lime**
**clang++** -Iinclude -Ilib/cairo/include -Ilib/cairo/include/configs/default/ **-DLIME_CAIRO** **-DHAVE_CONFIG_H** **-DCAIRO_HAS_FT_FONT** -Ilib/curl/include/ **-DLIME_CURL** **-DCURL_STATICLIB** -Ilib/freetype/include **-DLIME_FREETYPE** -Ilib/harfbuzz/src **-DLIME_HARFBUZZ** **-DLIBHL_EXPORTS** -Ilib/jpeg/ **-DLIME_JPEG** -Ilib/lzma/src **-DLIME_LZMA** -Ilib/ogg/include/ -Ilib/vorbis/include/ **-DLIME_OGG** -Ilib/openal/include/ **-DLIME_OPENAL** **-DLIME_OPENALSOFT** **-DAL_LIBTYPE_STATIC=1** **-DAL_ALEXT_PROTOTYPES** **-DLIME_OPENGL** -Ilib/png/ -Ilib/zlib/ **-DLIME_PNG** -Ilib/sdl/include/ -Ilib/sdl/include/configs/default/ **-DHAVE_LIBC** **-DLIME_SDL** -Ilib/ogg/include/ -Ilib/vorbis/include/ **-DLIME_VORBIS** **-DLIME_ZLIB** --target= **-DHXCPP_VISIT_ALLOCS** (haxe) **-DHXCPP_API_LEVEL=0** (haxe) -I/usr/local/lib/haxe/lib/hxcpp/4,0,64/include -Iinclude **-DANDROID=ANDROID** **-DHX_ANDROID** **-DHXCPP_ANDROID_PLATFORM=** -fvisibility=hidden -ffunction-sections -fstack-protector -fexceptions -c -fpic -Wno-invalid-offsetof -Wno-return-type-c-linkage -Wno-parentheses ... tags=[haxe,static]
- src/system/ **ValuePointer.cpp**
- src/math/ **ColorMatrix.cpp**
- src/media/containers/ **WAV.cpp**
- src/media/codecs/vorbis/ **VorbisBindings.cpp**
**Error:** **error: unknown target triple 'unknown', please use -triple or -arch**
**Error:** **error: unknown target triple 'unknown', please use -triple or -arch**
**Error:** **error: unknown target triple 'unknown', please use -triple or -arch**
**Error:** **error: unknown target triple 'unknown', please use -triple or -arch**

UPDATE: There is a ticket for this error in lime build system: https://github.com/haxelime/lime/issues/1368

UPDATE: I need to use NDK version 15c, but with MacOSX 10.15.3 you can not just download the old NDK and execute it if building lime. This is a mess :frowning:

Any ideas?

Many thanx and

Best regards
Andreas

@singmajesty Do you have any idea how I can succeed in this case?

I’ve encountered the same issue. I reported it here, and someone else seems to have reported it here.

1 Like

Does this help? https://github.com/haxelime/lime/commit/5a99ef3175e9647d0d7fba16ee9302bffa62a8e7

Is the issue that the older is not compatible with macOS 10.15 or is it an issue trying to download it?

Last I checked we were limited on using a newer Android NDK due to HXCPP not supporting a new version (which uses clang instead of gcc)

Yes. It will. But I can’t compile Lime as stated before.

https://developer.android.com/ndk/downloads/older_releases