431558d419
The validation logic for Min Sdk and Target Sdk was flawed as it triggers
errors for users not using Custom Build even if they never modified the
values themselves.
The default values for those settings get saved in `export_presets.cfg` and
thus the error gets triggered when moving from 3.4.4 or earlier to 3.4.5, as
the target SDK changed from 30 to 31.
So instead we just show a warning to make users aware of this non-default
Min Sdk or mostly Target Sdk that might be in their preset.
We also warn when they do use Custom Build as the target SDK 30 would likely
still be an upgrade issue and not an intentional choice, especially given
that Google Play will now require SDK 31.
The export info dialog is now exclusive so that when it doesn't auto-close,
i.e. when it errors, you don't close it by mistake by clicking outside.
The valid range for both options is no longer limited to Godot's own default
target SDK, but can accept higher values (they are not guaranteed to work,
but they might).
To be able to display warning, the relevant code is backported from
|
||
---|---|---|
.. | ||
api | ||
export | ||
java | ||
plugin | ||
README.md | ||
SCsub | ||
android_input_handler.cpp | ||
android_input_handler.h | ||
android_keys_utils.cpp | ||
android_keys_utils.h | ||
audio_driver_opensl.cpp | ||
audio_driver_opensl.h | ||
detect.py | ||
dir_access_jandroid.cpp | ||
dir_access_jandroid.h | ||
file_access_android.cpp | ||
file_access_android.h | ||
java_class_wrapper.cpp | ||
java_godot_io_wrapper.cpp | ||
java_godot_io_wrapper.h | ||
java_godot_lib_jni.cpp | ||
java_godot_lib_jni.h | ||
java_godot_wrapper.cpp | ||
java_godot_wrapper.h | ||
jni_utils.cpp | ||
jni_utils.h | ||
logo.png | ||
net_socket_android.cpp | ||
net_socket_android.h | ||
os_android.cpp | ||
os_android.h | ||
platform_config.h | ||
power_android.cpp | ||
power_android.h | ||
run_icon.png | ||
string_android.h | ||
thread_jandroid.cpp | ||
thread_jandroid.h |
README.md
Android platform port
This folder contains the Java and C++ (JNI) code for the Android platform port, using Gradle as a build system.
Artwork license
logo.png
and run_icon.png
are licensed under
Creative Commons Attribution 3.0 Unported
per the Android logo usage guidelines:
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.