Hello everybody. I'm new to Godot and have created the most simple app to test export following the first GDScript tutorial in the doc. Following the export instructions I successfully created an apk file. I copied the file on my Samsumg Galaxy S2 GT-i9100 running android 4.1.2 and allowed installation of apps from unknown sources. But when trying to install it, I get the the following error message : Parse Error, There is a problem parsing the package Following the same procedure, I successfully installed and run the app on a Galaxy Note 8 running android 7.1.1. What should I do to get it run on android 4.1.2 too ?
Parse Error when installing .apk on android 4.1.2
Godot 3.x targets minimal API level 18 (Android 4.3). Therefore the error.
Also apps exported with Godot 3.0.x require GLES3 support on the android device. (This should not be the case for Godot 3.1 projects when set to GLES2. But I didn't test this yet.)
You could try going with Godot 2.x. Or try to build your own android template with a lower SDK version (this might prove difficult if godot actually uses features of the newer API). https://godotengine.org/qa/38248/choosing-min-and-target-sdks-used-to-compile-android-apk-file
Finally you could put a custom Android version on your S2. I think Cyanogenmod offers a Android 6.0 rom for the S2.
Thank you very much for this answer. It is very helpful. :smile: