godot/platform/android
Raul Santos c5db2cfec2 [.NET] Require net9.0 for Android exports
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).

The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.

Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-26 17:11:31 +05:30
..
api JavaClassWrapper: Allow handling exceptions (rather than just crashing) 2025-02-14 09:45:14 -06:00
doc_classes Android: Keep swipe-to-dismiss disabled by default 2025-01-27 23:45:58 +05:30
export [.NET] Require net9.0 for Android exports 2025-09-26 17:11:31 +05:30
java Update to the AAB directory layout 2025-09-26 16:26:43 +05:30
plugin Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
variant Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
.editorconfig Style: Unify .editorconfig logic 2025-01-12 08:49:01 -06:00
android_input_handler.cpp Fix Android mouse capture issues 2025-03-12 14:59:02 +01:00
android_input_handler.h Input logic cleanup: 2024-05-19 14:08:01 -07:00
android_keys_utils.cpp Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
android_keys_utils.h Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
audio_driver_opensl.cpp Android: Ensure cleanup of all subobjects in the OpenSL audio driver 2024-07-30 17:20:46 +02:00
audio_driver_opensl.h Android: Ensure cleanup of all subobjects in the OpenSL audio driver 2024-07-30 17:20:46 +02:00
detect.py Bump the NDK to version 28.1.13356709 2025-09-26 16:24:04 +05:30
dialog_utils_jni.cpp Android: Implement support for native dialog 2025-01-14 15:03:14 +05:30
dialog_utils_jni.h Android: Implement support for native dialog 2025-01-14 15:03:14 +05:30
dir_access_jandroid.cpp Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
dir_access_jandroid.h Update the GodotHost interface to support signing and verifying Android apks 2024-08-26 11:16:38 -07:00
display_server_android.cpp Delegate to the DisplayServer the task of handling mouse_mode 2025-01-28 11:22:27 -05:00
display_server_android.h Delegate to the DisplayServer the task of handling mouse_mode 2025-01-28 11:22:27 -05:00
file_access_android.cpp [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
file_access_android.h [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
file_access_filesystem_jandroid.cpp [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
file_access_filesystem_jandroid.h [FileAccess] Return error codes from store_* methods. 2024-11-29 23:22:31 +02:00
game_menu_utils_jni.cpp Add checks to prevent crashes when accessing the GameMenu api 2025-02-27 13:20:23 -08:00
game_menu_utils_jni.h Add support for embedding game process in the Android Editor 2025-02-11 02:20:18 -08:00
java_class_wrapper.cpp JavaClassWrapper: Fix mistake in last fix for org.godotengine.godot.Dictionary conversion 2025-03-18 14:06:15 +01:00
java_godot_io_wrapper.cpp Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
java_godot_io_wrapper.h Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
java_godot_lib_jni.cpp Android: Fix build with disable_3d 2025-03-12 14:59:02 +01:00
java_godot_lib_jni.h Android: Fix export and runtime logic to check if using Vulkan 2025-02-23 12:28:59 +01:00
java_godot_view_wrapper.cpp Fix leakage of JNI object references 2024-04-15 10:30:18 -07:00
java_godot_view_wrapper.h Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
java_godot_wrapper.cpp Add support for embedding game process in the Android Editor 2025-02-11 02:20:18 -08:00
java_godot_wrapper.h Add support for embedding game process in the Android Editor 2025-02-11 02:20:18 -08:00
jni_utils.cpp Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
jni_utils.h Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
net_socket_android.cpp [Net] Properly rename NetSocketPosix to NetSocketUnix 2024-11-13 10:27:01 +01:00
net_socket_android.h [Net] Properly rename NetSocketPosix to NetSocketUnix 2024-11-13 10:27:01 +01:00
os_android.cpp Add support for embedding game process in the Android Editor 2025-02-11 02:20:18 -08:00
os_android.h Add support for embedding game process in the Android Editor 2025-02-11 02:20:18 -08:00
platform_config.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
README.md Update links to the contributing section of the docs to the appropriate new sections. 2025-09-12 09:26:27 -05:00
rendering_context_driver_vulkan_android.cpp Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00
rendering_context_driver_vulkan_android.h Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
SCsub Update the project NDK to the latest LTS version (r27c) 2025-09-26 16:22:47 +05:30
thread_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
thread_jandroid.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
tts_android.cpp Additional fixes and improvements to JavaClassWrapper 2024-12-17 18:46:34 -08:00
tts_android.h Fix leakage of JNI object references 2024-04-15 10:30:18 -07:00

Android platform port

This folder contains the Java and C++ (JNI) code for the Android platform port, using Gradle as a build system.

Documentation

Artwork license

logo.svg and run_icon.svg 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.