Android deploy, errors on application start.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By salomander86

Here is my stack:

I/Fitness: Removing all subscriptions for: org.godotengine.plane 05-24
15:50:58.856 5391-16930/? I/GrowthService: Package
org.godotengine.plane uninstalled. Removing from storage. 05-24
15:50:58.872 5391-12136/? I/Icing: doRemovePackageData
org.godotengine.plane 05-24 15:51:01.218 4109-4172/? W/PackageParser:
Ignoring duplicate uses-permissions/uses-permissions-sdk-m: False in
package: org.godotengine.plane at: Binary XML file line #168
Ignoring duplicate uses-permissions/uses-permissions-sdk-m: False in package: org.godotengine.plane at: Binary XML file line #169
15:51:01.325 4109-4172/? I/PackageManager.DexOptimizer: Running dexopt
(dexoptNeeded=1) on: /data/app/vmdl1492264504.tmp/base.apk
pkg=org.godotengine.plane isa=arm
dexoptFlags=boot_complete,debuggable,public target-filter=quicken
oatDir=/data/app/vmdl1492264504.tmp/oat sharedLibraries=null 05-24
15:51:02.373 4415-4415/? D/ImsResolver: maybeAddedImsService,
packageName: org.godotengine.plane 05-24 15:51:02.395 4109-7200/?
W/BroadcastQueue: Background execution not allowed: receiving Intent {
act=android.intent.action.PACKAGE_ADDED
dat=package:org.godotengine.plane flg=0x4000010 (has extras) } to
com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
05-24 15:51:02.396 4109-4124/? W/BroadcastQueue: Background execution
not allowed: receiving Intent {
act=android.intent.action.PACKAGE_ADDED
dat=package:org.godotengine.plane flg=0x4000010 (has extras) } to
com.google.android.ims/.receivers.RcsAutoStartReceiver 05-24
15:51:02.397 5391-16931/? I/ChromeSync: [Sync,SyncIntentOperation]
Handling the intent: Intent { act=android.intent.action.PACKAGE_ADDED
dat=package:org.godotengine.plane flg=0x4000010
cmp=com.google.android.gms/.chimera.GmsIntentOperationService (has
extras) }. 05-24 15:51:02.399 5391-16928/? I/FontsPackageChangeOp:
Package org.godotengine.plane has no metadata 05-24 15:51:02.494
4109-4238/? I/ActivityManager: START u0
{act=android.intent.action.MAIN flg=0x10000000
cmp=org.godotengine.plane/org.godotengine.godot.Godot} from uid 2000
05-24 15:51:02.502 540-540/? E/ANDR-IOP: IOP HAL: Received pkg_name =
org.godotengine.plane pid = -1
event data pool ran empty 05-24 15:51:02.509 4109-4238/? D/ActivityTrigger: activityStartTrigger: Activity is Triggerred in
full screen ApplicationInfo{a4ac728 org.godotengine.plane} 05-24
15:51:02.509 4109-4238/? E/ActivityTrigger: activityStartTrigger: not
whiteListedorg.godotengine.plane/org.godotengine.godot.Godot/1 05-24
15:51:02.509 4109-4238/? D/ActivityTrigger: activityResumeTrigger: The
activity in ApplicationInfo{a4ac728 org.godotengine.plane} is now in
focus and seems to be in full-screen mode 05-24 15:51:02.510
4109-4238/? E/ActivityTrigger: activityResumeTrigger: not
whiteListedorg.godotengine.plane/org.godotengine.godot.Godot/1 05-24
15:51:02.513 4109-5268/? D/ActivityTrigger: activityResumeTrigger: The
activity in ApplicationInfo{a4ac728 org.godotengine.plane} is now in
focus and seems to be in full-screen mode 05-24 15:51:02.514
4109-5268/? E/ActivityTrigger: activityResumeTrigger: not
whiteListedorg.godotengine.plane/org.godotengine.godot.Godot/1 05-24
15:51:02.531 4109-5268/? I/ActivityManager: Start proc
16982:org.godotengine.plane/u0a131 for activity
org.godotengine.plane/org.godotengine.godot.Godot 05-24 15:51:02.645
16982-16982/? D/GODOT: ** GODOT ACTIVITY CREATED HERE *** 05-24
15:51:02.677 16982-16982/? D/GODOT: command_line is null? no 05-24
15:51:02.701 16982-16982/? I/godot: **INIT EVENT! - 0xf1631310
***************** HELLO FROM JNI!!!
*******CLASS FOUND!!!
STEP2, 0x2036
STEP3 -233361372
STEP4, 0x81
STEP4.5, 0x2046
STEP7
STEP8
*******GOT METHOD _dir_open ok…

*******GOT METHOD _pause ok!! 05-24 15:51:02.702 16982-16982/? I/godot: test construction 5
running from dir / 05-24 15:51:02.728 16982-17000/? I/godot: **SETUP
CMDLINE LEN 4 - APK EXPANSION 0 05-24 15:51:02.751 16982-17000/? I/godot: Remote Debugger: Connection failed with status: '3', retrying

in 1 msec. 05-24 15:51:02.761 16982-17000/? I/godot: Remote Debugger:
Connection failed with status: ‘3’, retrying in 10 msec. 05-24
15:51:02.797 16982-16982/? D/GODOT: setVirtualKeyboardHeight: 0 05-24
15:51:02.861 16982-17000/? I/godot: Remote Debugger: Connection failed
with status: ‘3’, retrying in 100 msec. 05-24 15:51:03.862
16982-17000/org.godotengine.plane I/godot: Remote Debugger: Unable to
connect 05-24 15:51:05.868 16982-17000/org.godotengine.plane E/godot:
Could not connect to remotefs: 127.0.0.1:6010. 05-24 15:51:05.876
16982-17000/org.godotengine.plane I/godot: *****UNABLE TO SETUP 05-24
15:51:05.881 16982-17000/org.godotengine.plane W/GodotView: creating
OpenGL ES 3.0 context : 05-24 15:51:05.887
16982-17000/org.godotengine.plane I/godot: ^^^^^ newcontext 0
^^^^^ resize 0, 1080, 1920
**FIRST_STEP

--------- beginning of crash 05-24 15:51:05.888 16982-17000/org.godotengine.plane A/libc: Fatal signal 11 (SIGSEGV),

code 1, fault addr 0x78 in tid 17000 (GLThread 1491) 05-24
15:51:05.953 16982-17000/org.godotengine.plane A/libc: failed to wait
for crash_dump helper: No child processes 05-24 15:51:05.954
17012-17012/? A/DEBUG: Build fingerprint:
‘xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/V9.5.11.0.ODHMIFA:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
pid: 16982, tid: 17000, name: GLThread 1491 >>> org.godotengine.plane <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78
Cause: null pointer dereference
r0 6331128b r1 d477e88c r2 00000001 r3 00000002
r4 00000000 r5 d477e88c r6 d477e968 r7 00000000
r8 d477e980 r9 e5fad800 sl 00000000 fp d477ed80
ip 00000034 sp d477e868 lr d5d1eda4 pc d5d196a8 cpsr 200f0010 05-24 15:51:05.971 17012-17012/? A/DEBUG: #00 pc 014d36a8
/data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(_ZNK15ProjectSettings11has_settingE6String+32)
#01 pc 014d8da0 /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(_Z11_GLOBAL_DEFRK6StringRK7Variant+168)
#02 pc 0061d84c /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(_ZN15RasterizerGLES315register_configEv+64)
#03 pc 00087930 /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(_ZN10OS_Android10initializeERKN2OS9VideoModeEii+88)
#04 pc 000c7824 /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(_ZN4Main6setup2Ey+84)
#05 pc 00098b5c /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/lib/arm/libgodot_android.so
(Java_org_godotengine_godot_GodotLib_step+64)
#06 pc 0000a15f /data/app/org.godotengine.plane—hCF30ItTzh9rswtPZY3A==/oat/arm/base.odex
(offset 0x9000) 05-24 15:51:06.609 4109-17013/? W/ActivityManager:
org.godotengine.plane/org.godotengine.godot.Godot 05-24 15:51:06.616
4109-4125/? I/ActivityManager: Showing crash dialog for package
org.godotengine.plane u0 05-24 15:51:06.631 4109-7200/?
I/ActivityManager: Process org.godotengine.plane (pid 16982) has died:
vis +99TOP 05-24 15:51:06.631 4109-4238/? I/WindowManager: WIN
DEATH: Window{9b71a0 u0
org.godotengine.plane/org.godotengine.godot.Godot} 05-24 15:51:06.631
562-1744/? E/SurfaceFlinger: Failed to find layer (SurfaceView -
org.godotengine.plane/org.godotengine.godot.Godot#0) in layer parent
(no-parent). 05-24 15:51:06.631 562-661/? E/SurfaceFlinger: Failed to
find layer (Background for - SurfaceView -
org.godotengine.plane/org.godotengine.godot.Godot#0) in layer parent
(no-parent).

Pretty much errors, any advice where to start?)

:bust_in_silhouette: Reply From: salomander86

So, solution was very easy, just to turn off “Small deploy with Network FS”.
But now apk doesn’t install to device, and all stack trace is:

05-25 12:14:06.402 4109-4120/? I/ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=org.godotengine.plane/org.godotengine.godot.Godot} from uid 2000

Doesn’t help at all… any ideas?

Did you ever solve this issue? Im currently having an error. once the app is installed my error log is telling me it failed to find layer (SurfaceView) As well.

Archtects | 2018-11-21 08:41