JavaFX on Android Tutorial (2020)
This is an updated (2020) tutorial for compiling JavaFX apps to Android .apk
Here's an example recorded directly from Android: https://youtu.be/__eRrM0m8Ys
Full instructions: https://github.com/gluonhq/client-maven-plugin
Gluon samples: https://github.com/gluonhq/gluon-samples
Short instructions:
1. Get GRAALVM tar.gz and unzip
2. Set GRAALVM_HOME and JAVA_HOME to unzipped dir
3. Download one of gluon-samples projects or FXGL Breakout, or make your own JavaFX app with a module-info.java
4. mvn clean client:build
5. mvn client:package
6. mvn client:install
7. mvn client:run
FXGLGames Source: https://github.com/AlmasB/FXGLGames
FXGL: https://github.com/AlmasB/FXGL
FXGL Games Showcase: http://almasb.github.io/FXGLGames/
Vote on next video: https://www.youtube.com/almasb0/community
Twitter: https://twitter.com/AlmasBaim
GitHub: https://github.com/AlmasB/
LinkedIn: https://www.linkedin.com/in/almasb/
You can support this channel at https://github.com/sponsors/AlmasB