Pāvels Nadtočajevs
f10b71ff56
[Android/Gradle] Do not ignore asset folders starting with _.
2026-01-02 22:08:24 +02:00
Anish Kumar
614e35f04b
Fix AAB file not copied to export path
2025-12-28 03:54:21 +05:30
Fredia Huya-Kouadio
280120b1f8
Add instrumentation tests to validate obb directory access
2025-12-12 14:20:13 -08:00
Fredia Huya-Kouadio
27e63aa270
Update the version of the OpenXR Vendors plugin to the latest stable version
2025-12-05 09:00:13 -08:00
Fredia Huya-Kouadio
0f160c7293
Fix Android build regression introduced by https://github.com/godotengine/godot/pull/110829
2025-12-01 01:21:32 -08:00
David Snopek
c2f8d1a29b
Android: Fix memory issues in _variant_to_jvalue()
2025-11-26 11:17:34 -06:00
Fredia Huya-Kouadio
3206e28c8d
Ensure that the Android editor properly passes hybrid data when switching mode
2025-11-20 19:13:02 -08:00
Bastiaan Olij
c056cae437
OpenXR add core support for Khronos loader
2025-11-19 11:54:25 +11:00
Fredia Huya-Kouadio
353c871160
Add support for Android XR devices to the Godot XR Editor
2025-11-14 11:54:53 -08:00
Fredia Huya-Kouadio
2ed51e00a1
Make use of activity-alias as the launcher mechanism for the Godot editor and the Godot app template
2025-11-13 10:17:43 -08:00
Max Hilbrunner
5e07b74bf5
Update Android build tools to version 35.0.1
2025-11-05 14:29:56 +01:00
Serhii Snitsaruk
b0cb297cde
Fix 64-bit integers being truncated to 32-bit in JNI
2025-10-30 22:57:53 +01:00
Fredia Huya-Kouadio
16bdc8c4f1
Add Android instrumented tests to the app module
...
This builds on the work from @dsnopek in https://github.com/dsnopek/javaclasswrapper-test , by importing the set of JavaClassWrapper tests from that repo within the Godot core repo in order to bootstrap and standardize how we write and run Android instrumented tests.
The approach used here should serve as a base to build upon to expand the set of instrumented tests used to validate the project's stability.
Co-authored-by: David Snopek <dsnopek@gmail.com >
2025-10-24 07:46:22 -07:00
Fredia Huya-Kouadio
5277c94fe4
Update the source sets configuration for the app and lib modules to match the default configuration
...
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.
Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
Fredia Huya-Kouadio
d255ec2fe1
Fix the issue preventing installing C# binaries on Android devices with api <= 29
2025-09-04 11:49:22 -07:00
Thaddeus Crews
29ff6c3469
Merge pull request #107681 from m4gr3d/revert_remove_compress_native_lib_option
...
Revert the removal of the `gradle_build/compress_native_libraries` export option
2025-08-12 11:46:33 -05:00
Fredia Huya-Kouadio
74eba7a770
Revert the removal of the gradle_build/compress_native_libraries export option
2025-08-11 19:01:11 -07:00
Thaddeus Crews
ec8e6aeb82
Merge pull request #108557 from syntaxerror247/Fix-system-bar-regression
...
Android: Fix system bar regression
2025-07-30 09:03:37 -05:00
Anish Mishra
0506299c21
Android: Add option to change background color and fix system bar regression
2025-07-29 09:27:16 +05:30
Fredia Huya-Kouadio
291b89686d
Update the OpenXR Vendors plugin for the XR editor to the latest stable version
2025-07-24 18:32:26 -07:00
Fredia Huya-Kouadio
d47e3fd3bf
Misc XR editor updates:
...
- Bump the OpenXR Vendors plugin version to `4.1.0-stable`
- Include `quest2` in the supported devices manifest config
2025-07-21 11:17:48 -07:00
Anish Mishra
d8d3c86d71
Fix Immersive mode and keyboard height issues on Android
2025-07-16 23:31:47 +05:30
Fredia Huya-Kouadio
3a36726feb
Update the maven publishing configuration following the deprecation of the OSSHR service
...
https://central.sonatype.org/news/20250326_ossrh_sunset/
2025-07-07 15:57:04 -07:00
Fredia Huya-Kouadio
c376348b16
Fix the build logic to generate the native debug symbols
2025-07-05 10:38:22 -07:00
Fredia Huya-Kouadio
2f4c3d411c
Address API 35 UI behavior changes
...
- Fix issue on foldable where the embedded window would obscure the main window when launching
- Fix edge-to-edge support for non-immersive apps / games
- Add edge-to-edge export option to allow non-immersive apps / games to extend edge to edge
2025-06-20 13:29:38 -07:00
Anish Mishra
dcab8a721e
Revert "Add support for exporting to Google Play Instant"
...
This reverts commit 12ad9ed4e0 .
Shortly after the feature was merged, we received news that Google will shut down Instant Apps in December 2025. Since this feature is being discontinued soon, there’s no value in keeping it for just a few months.
2025-06-14 15:51:08 +05:30
Fredia Huya-Kouadio
dc589e239c
Add support for using an Android Service to host the Godot engine
...
- Provide a `GodotService` Android service implementation which can be used to host an instance of the Godot engine
- Provide a `RemoteGodotFragment` Android fragment implementation which provides the view and logic to wrap connection to a `GodotService` instance
2025-06-12 16:37:38 -07:00
Rémi Verschelde
ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
...
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
Rémi Verschelde
4adef85151
Merge pull request #106447 from kojurohan42/instant-build
...
Add support for exporting to Google Play Instant via Google Play Instant Export Option
2025-06-12 23:32:38 +02:00
Fredia Huya-Kouadio
547450befd
Fix transparency background issue on Android
...
Fixes https://github.com/godotengine/godot/issues/106703
2025-06-02 22:45:16 -07:00
kojurohan42
12ad9ed4e0
Add support for exporting to Google Play Instant
2025-05-23 22:00:14 +05:45
Anish Mishra
0312a0cc9e
Android: Add export option for custom theme attributes
...
- Regenerates the `GodotAppMainTheme` and `GodotAppSplashTheme` during Android export. Any manual changes to these styles will be cleared and replaced with default theme attributes.
- Adds a new export option `gradle_build/custom_theme_attributes` for injecting custom theme attributes directly via the export window, avoiding the need to manually modify themes.xml.
2025-05-23 20:00:47 +05:30
Thaddeus Crews
7951a1bb87
Merge pull request #106359 from m4gr3d/remove_compress_native_libs_option
...
Remove the `gradle_build/compress_native_libraries` export option
2025-05-21 09:06:25 -05:00
Fredia Huya-Kouadio
ec7fb37db1
Update to the AAB directory layout
...
Follow-up to https://github.com/godotengine/godot/pull/106152 to address the regression described in https://github.com/godotengine/godot/issues/106582
2025-05-19 10:50:43 -07:00
Fredia Huya-Kouadio
773fc96ab2
Update the logic to validate the java version
...
Loosen the check to allow Java version >= 17
2025-05-15 16:28:07 -07:00
Fredia Huya-Kouadio
e3d60bbd0c
Remove the option to compress Android native libraries
...
Follow-up to https://github.com/godotengine/godot/pull/106358 , this is a separate commit / PR since it shouldn't be cherry-picked in previous releases as it removes existing functionality.
Support for 16kb page size added in the previous PR requires the native libraries to be uncompressed, so we're deprecating and removing the option to compress native libraries.
See https://developer.android.com/guide/practices/page-sizes#agp_version_851_or_higher for more details.
2025-05-15 08:41:46 -07:00
Fredia Huya-Kouadio
27bdc86ed1
Bump the NDK to version 28.1.13356709
...
Doing so automatically adds support for 16kib page to the Godot Android shared libraries.
See https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment for details.
2025-05-13 08:27:36 -07:00
Fredia Huya-Kouadio
c29545f793
Bump the minimum supported SDK version to 24
...
Raise the minimum supported Android version from Android 5 (Lollipop) to Android 7 (Nougat).
2025-05-08 09:45:32 -04:00
Fredia Huya-Kouadio
4b4144cc39
Annual versions bump for the Android platform
...
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-05-07 13:14:49 -04:00
Fredia Huya-Kouadio
fac2ebed78
Update the project NDK to the latest LTS version (r27c)
2025-04-22 19:43:59 -07:00
Fredia Huya-Kouadio
8a514ae56f
Enable native debug symbols generation
2025-04-22 09:04:49 -07:00
Fredia Huya-Kouadio
845c925b67
Add support for export plugins to modify the Android prebuilt manifest
2025-03-14 16:05:09 -07:00
Alex
1c02316365
Fix crash after changing device language
...
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.
2025-03-01 02:42:56 +01:00
Fredia Huya-Kouadio
8ed8b4a89d
Bump the version of the openxr vendors plugin dependency
2025-02-12 09:51:07 -08:00
Thaddeus Crews
c90fd7f3da
Merge pull request #98066 from TCROC/fix-android-mono-export
...
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 -06:00
Travis Lange
5e2fd7b1d7
fix android mono export causing conflicts
2025-02-10 10:09:52 -05:00
Fredia Huya-Kouadio
9e4365f1a7
Export the rendering/renderer/rendering_method.mobile project setting to the AndroidManifest
...
The AndroidManifest already stores the Godot editor and library versions. The addition of this meta-data allows to identify Godot Android apps that may be subject to renderer specific issues addressed in future versions of the engine.
2025-02-04 21:11:56 -08:00
Thaddeus Crews
ff706b8fb8
Merge pull request #100756 from raulsntos/android/fix-aab-path
...
[Android] Fix path to AAB in copyAndRenameBinary task
2024-12-23 11:15:08 -06:00
Raul Santos
d380cb1a6c
[Android] Fix path to AAB in copyAndRenameBinary task
2024-12-22 22:40:36 +01:00
Anish Mishra
5d8e2cd63f
Add option to disable Swipe-to-Dismiss for Wear OS
2024-12-20 23:21:50 +05:30