Linking errors in NDK builds #1135
Description
Firebase reports us linking errors:
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/com.xxx.mobile-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libNativeScript.so"
we are building our aabs with:
tns build android --release --key-store-path android.keystore --key-store-password ${KEYSTORE_PASSWORD} --key-store-alias keepa --key-store-alias-password ${KEYSTORE_PASSWORD} --env.aot --env.snapshot --env.compileSnapshot --env.uglify --env.report --env.hiddenSourceMap --aab
Our output looks fine:
output.log
Running on nativescript 6.4.1 (more infos about the env you see in the docker tag)
Builds are executed with our docker container (tag: 18.04-10.x-6.4.1-28.0.3-1.20.1-21.0.6113669):
https://hub.docker.com/r/scratchy/nativescript-cli
Please advice, we have a lot of issues with the build process and just released our first app with nativescript and have about 10% crashing devices - even if we dont see any critical output in any of the logs.
We disabled now aab builds because it seems the build process is not clean, hows this going we gonna see after a couple of days...
Related to
NativeScript/nativescript-cli#5298
#1134