Commit graph

315 commits

Author SHA1 Message Date
StarryWorm
357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Fredia Huya-Kouadio
51eb1a3013 Poll for Android devices only when a runnable Android export preset is configured 2026-02-20 10:52:39 -08:00
Hugo Locurcio
7d6d11f8d8
Fix EditorSettings error due to android_sdk_path when exporting a project
This editor setting is queried once every 3 seconds, as it is used
to check whether devices have been (dis)connected for one-click deploy.

This method may be called early on depending on initialization order,
which has led to occasional error messages when exporting a project.
The method now returns early if EditorSettings isn't ready yet
(it will be called again soon after anyway).
2026-02-20 01:25:33 +01:00
Anish Kumar
6a65e06e69 Android Editor: copy keystore to temp file during export 2026-02-11 13:44:57 +05:30
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Thaddeus Crews
5853d99984
Merge pull request #114930 from KoBeWi/if_it's_runnable_can_it_run_doom
Move runnable out of export preset
2026-01-28 17:58:25 -06:00
Fredia Huya-Kouadio
e86050e745 Annual Android versions bump for 2026 2026-01-28 13:17:48 -08:00
Thaddeus Crews
58207b516f
Merge pull request #113920 from bruvzg/enc_dir_sp
[SparsePCK] Add support for index encryption.
2026-01-27 15:18:18 -06:00
Fredia Huya-Kouadio
7bebe1b1b1 Fix XR build regression reported in https://github.com/GodotVR/godot_openxr_vendors/issues/429 2026-01-19 19:09:33 -08:00
kobewi
91cc70f280 Move runnable out of export preset 2026-01-13 19:32:33 +01:00
Anish Kumar
f4d28f655e Update Android export filename to match the export format
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2026-01-02 14:22:59 +05:30
Anish Kumar
a797a2f5f7 Only attempt install when export format is APK 2025-12-28 05:20:04 +05:30
Pāvels Nadtočajevs
a378f9781d
[SparsePCK] Add support for index encryption. 2025-12-12 08:04:22 +02:00
Rémi Verschelde
342ba8063e
Merge pull request #112361 from Calinou/export-dedicated-server-no-shader-baker
Disable shader baker when exporting as dedicated server
2025-12-09 19:54:22 +01:00
Adam Scott
10c7cb878a
Add new monospace related hint strings
- Add hint string `monospace` for `PROPERTY_HINT_{NONE,PASSWORD,PLACEHOLDER_TEXT}` to set the `LineEdit` font monospaced.
- Add hint string `monospace` for `PROPERTY_HINT_MULTILINE_TEXT` to set the `TextEdit` font monospaced.
- Add hint string `no_wrap` for `PROPERTY_HINT_MULTILINE_TEXT` to make the `TextEdit` not wrap lines automatically.

Also:
- Fix issue with `EditorPropertyMultilineText` not updating font properly.
- Add `EditorPropertyMultilineText` tweak flags.
- Add support with GDScript `@export_multiline`.
2025-12-03 12:57:40 -05:00
Rémi Verschelde
7a207b3eaa
Merge pull request #113389 from m4gr3d/fix_android_editor_gradle_apk_install
[Android editor] Fix apk install after gradle build
2025-12-01 11:50:29 +01:00
Fredia Huya-Kouadio
d85dbee766 Fix apk install after gradle build for the Android editor 2025-12-01 02:08:29 -08:00
Fredia Huya-Kouadio
74d80f485c Disable Android devices mirroring for the Android editor 2025-11-30 21:57:51 -08:00
David Snopek
5593a0b2b2 Enable Gradle builds on the Android editor via a dedicated build app
Co-authored-by: Logan Lang <devloglogan@gmail.com>
2025-11-27 11:03:06 -06:00
Mikael Hermansson
0cc88f34da Add support for delta encoding to patch PCKs 2025-11-26 13:52:19 +01:00
nikitalita
8f60f9de69 add permissions/manage_media to android export 2025-11-17 12:05:02 -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
Haoyu Qiu
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
Lanza
8d6a76154e Fix compile error with android export plugin 2025-11-06 09:03:41 +08:00
Thaddeus Crews
90cab74af9
Merge pull request #110248 from KoBeWi/unexpected_include_hell
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06:00
Hugo Locurcio
09f9dc157a
Disable shader baker when exporting as dedicated server
Dedicated server exports don't perform any rendering, so there's no point
in including baked shaders. Doing so saves a few MBs in PCK size if the
shader baker was enabled in the export options.
2025-11-04 00:25:08 +01:00
kobewi
1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01:00
MBCX
1e481b2d14 Removed API 21 references and simplified messages 2025-10-27 10:42:56 -04:00
Thaddeus Crews
cc008b288a
Merge pull request #110829 from m4gr3d/javaclasswrapper_regression_tests
Add Android instrumented tests to the `app` module
2025-10-24 11:23:08 -05:00
Thaddeus Crews
9d2b619f51
Merge pull request #108737 from bruvzg/adb_scrcpy
[Android] Add export option to use "scrcpy" to run project from editor.
2025-10-24 11:23:03 -05: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
Thaddeus Crews
06e7ac969c
Merge pull request #111688 from Alex2782/android_export_webp
Fix custom icon in Android export
2025-10-21 10:27:04 -05:00
Alexander Hartmann
ede217754a Fix custom icon in Android export 2025-10-15 20:38:17 +02:00
Pāvels Nadtočajevs
f7263b9517
[Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
Mounir Tohami
9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03:00
Thaddeus Crews
5240f1c283
Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
Thaddeus Crews
155c594f02
Merge pull request #109568 from syntaxerror247/export-keystore-check
Android: Only validate keystore relevant to current export mode
2025-09-16 11:44:43 -05:00
Raul Santos
f0c9253bec
[.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-05 04:14:27 +02:00
Anish Mishra
1763b43dca
Android: Fix build command in standard AAB export 2025-08-14 17:13:21 +05:30
Anish Mishra
097ccbc5cd Android: Only validate keystore relevant to current export mode
- Debug builds skip release keystore validation.
- Release builds skip debug keystore validation.
2025-08-13 13:35:50 +05:30
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
Anish Mishra
ae678b4085 Android: Misc changes 2025-08-03 13:09:10 +05:30
Anish Mishra
0506299c21 Android: Add option to change background color and fix system bar regression 2025-07-29 09:27:16 +05:30
Thaddeus Crews
64c58c225a
Merge pull request #107473 from m4gr3d/address_transparency_feedback
Address remaining feedback on Android background transparency
2025-07-16 11:27:54 -05:00
Pāvels Nadtočajevs
f20e5152ad
[EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
Anish Mishra
836b762e23 Fix Android splash theme regression 2025-07-09 23:33:21 +05:30
Fredia Huya-Kouadio
3ade4b4b63 Address remaining feedback on https://github.com/godotengine/godot/pull/106709
Address https://github.com/godotengine/godot/pull/106709#discussion_r2114489487
2025-07-07 12:11:21 -07:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Pāvels Nadtočajevs
42733a2a5c
Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00