Open metacodez opened 1 year ago
Did you set ANDROID_NDK
? Check that you don't have it, or if you do, it points to the current NDK location?
I just verified that the ANDROID_NDK
environment variable has not been set (it is quite a fresh Arch installation, so there is not much I installed manually). Maybe the issue has been resolved with yesterday's version 1.0.19
, though I didn't test yet.
Dear Gluon-Team,
thanks for the great work! I am impressed that I can use JavaFx alongside Java to build Android apps!
Lately I just updated a couple of dependencies when I encountered an error when building for Android:
Invoking
mvn clean gluonfx:build gluonfx:package -Pandroid
fails as ofjava.io.IOException
, stating that I specified an android NDK, but it doesn't contain~/.gluon/substrate/Android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/ld.lld
.The
ndk-bundle
of the Android SDK downloaded by the plugin seems to be located in the folder~/.gluon/substrate/Android/ndk/25.2.9519653
.To fix this issue, I created a simlink for the plugin to find the
ndk-bundle
again:The build messsage of the failed build looks as follows:
Hope this helps, maybe others also have this issue -
Best regards, Siegfried