Love Android's GameActivity.java uses some features that are only available in API 19 of Android and higher, resulting in following compiling errors (compiled with API 16 (Jelly Bean)):
Code: Select all
[javac] C:\AndroidStuff\android-sdl22\src\org\love2d\android\GameActivity.java:132: error: cannot find symbol
[javac] | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
[javac] ^
[javac] symbol: variable SYSTEM_UI_FLAG_IMMERSIVE_STICKY
[javac] location: class View
[javac] C:\AndroidStuff\android-sdl22\src\org\love2d\android\GameActivity.java:160: error: cannot find symbol
[javac] | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
[javac] ^
[javac] symbol: variable SYSTEM_UI_FLAG_IMMERSIVE_STICKY
[javac] location: class View
Removing offending parts of the code makes the game crash on start.
I unfortunately have no idea how to program in Java, so I can't really disable these features or replace them with older versions.
If anyone managed to build a game on <19 API, let me know!
EDIT: Reading patch notes of Löve Android, it seems that 2.3.3 is the lowest version supported, so if these "immersive" features are removed, it should run.
EDIT: Updated title to reflect the (updated) problem.