#android bundle error with fedora 43

1 messages · Page 1 of 1 (latest)

oblique finch
#

have you tried passing that --enable-native-access=ALL-UNNAMED to cargo? or setting as env var? have a look at dx bundle -h, there are ways to pass through args to cargo or rustc there. Dunno if it will get to where it needs to go though! annoying it looks like a warning but stops the bundle process... does it do the same with dx build?

mint wren
#

Hi, thank you
the system was quite unstable overall so I couldn't poke around more yesterday.
So dx build --android does the same
JDK_JAVA_OPTIONS="--enable-native-access=ALL-UNNAMED" give me:

Caused by:
    Failed to assemble apk: NOTE: Picked up JDK_JAVA_OPTIONS: --enable-native-access=ALL-UNNAMED

    FAILURE: Build failed with an exception.

    * What went wrong:
    A problem occurred configuring root project 'app'.
    > 25

    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.

    BUILD FAILED in 363ms

I will try to find what is the error code 25