
Former-commit-id: 414d8aed65
[formerly 8894cdb766d205bf630d4de44701894a53b95b12] [formerly 59f44288ca1838e89e1f8c7463e88e91d5252c4b]
Former-commit-id: 197667cbaa98c5fd5d4b1ef504d579d5ff6f8100
Former-commit-id: a0e785034d5709b7f7fdfa9eb4fd1c8e0332f507
21 lines
946 B
Plaintext
21 lines
946 B
Plaintext
Android build notes
|
|
|
|
This example works:
|
|
https://github.com/pvallet/hello-sdl2-android
|
|
|
|
the only JDK that seems to work is oracle-java8-installer, discontinued but available as of 2/18/2020 from
|
|
sudo add-apt-repository ppa:ts.sch.gr/ppa
|
|
sudo apt-get update
|
|
sudo apt-get install oracle-java8-installer
|
|
per https://askubuntu.com/questions/1139387/update-to-latest-version-of-java-after-ppa-is-discontinued
|
|
|
|
SDL2, SDL2_gfx, SDL2_ttf official need to go in external
|
|
|
|
SDL2_gfx official doesn't have Android.mk, but this one does:
|
|
|
|
https://github.com/keera-studios/SDL2_gfx
|
|
|
|
|
|
App parameters are in android/app/src/main/java/[pvallet/com/github/hellosdl2/helloSDL2Activity.java] (network access, fullscreen immersive mode"
|
|
Resources (fonts etc) need to go in android/app/src/main/res
|
|
build settings (arch, android version) are in android/AndroidManifest.xml AND android/SDL2/src/main/AndroidManifest.xml (not sure if the second one needs to be changed) |