Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Linking errors in NDK builds #1135

Open
@saschaarthur

Description

@saschaarthur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions