summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #88840 from m4gr3d/update_android_export_advanced_optionsRémi Verschelde2024-04-051-1/+9
|\ | | | | | | Update the list of advanced export options for the Android platform
| * Update the list of advanced export options for the Android platformFredia Huya-Kouadio2024-02-251-1/+9
| |
* | Fix gdextensionlibs.json storage path in Android gradle buildbeicause2024-03-171-1/+1
| | | | | | | | It should relative to gradle build directory
* | Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKsDavid Nikdel2024-03-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | fixes godotengine#82061 fixes godotengine#61556 Also, distinguish between main pack and DLC packs. It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup. - project.godot/project.binary file - extension_list.cfg - app icon and boot_splash - .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
* | Update the Android export validation logic to account for the custom gradle ↵Fredia Huya-Kouadio2024-03-051-1/+14
| | | | | | | | | | | | | | | | android source template Follow-up to https://github.com/godotengine/godot/pull/88297 to address the following issues: - Ensure that the custom gradle android source template is valid. Show a warning if it's not - Don't show an error when the official export templates are not installed but a custom android source template is specified
* | Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-1/+1
| |
* | Don't attempt shutting down adb on exit if not startedRémi Verschelde2024-02-261-1/+1
| | | | | | | | Fixes #88864.
* | Display a warning if device CPU architecture is not active in the export preset.Alexander Hartmann2024-02-231-1/+8
|/
* Fix crash on documentation generation on macOS.bruvzg2024-02-191-2/+3
|
* Merge pull request #88419 from m4gr3d/add_export_preset_advanced_options_toggleRémi Verschelde2024-02-191-5/+14
|\ | | | | | | Add an `Advanced Options` toggle to the editor export preset
| * Add an `Advanced Options` toggle to the editor export presetFredia Huya-Kouadio2024-02-181-5/+14
| |
* | Merge pull request #87823 from KoBeWi/ban_adbRémi Verschelde2024-02-171-1/+30
|\ \ | |/ |/| | | Don't invoke adb with no runnable Android preset
| * Don't invoke adb with no runnable Android presetkobewi2024-02-151-1/+30
| |
* | Merge pull request #88385 from m4gr3d/enable_legacy_packaging_mainRémi Verschelde2024-02-171-0/+8
|\ \ | | | | | | | | | Add export setting to specify whether the native libraries should be compressed for the gradle build
| * | Add export setting to specify whether the native libraries should be ↵Fredia Huya-Kouadio2024-02-151-0/+8
| |/ | | | | | | compressed for the gradle build
* / Android: Allow using alternative Gradle build directoryDavid Snopek2024-02-161-48/+84
|/
* Update Android dependencies for the projectFredia Huya-Kouadio2024-01-181-1/+1
| | | | | | | | | | - Update Android gradle plugin version from 7.2.1 to 8.2.0 - Update gradle version from 7.4.2 to 8.2 - Update target SDK from 33 to 34 - Update build tools version from 33.0.2 to 34.0.0 - Update kotlin version from 1.7.0 to 1.9.20 - Update Android fragment version from 1.3.6 to 1.6.2 - Update AndroidX window version from 1.0.0 to 1.2.0
* Merge pull request #86383 from m4gr3d/editor_export_specify_java_sdk_path_mainYuri Sizov2024-01-181-4/+50
|\ | | | | | | Specify the path to the Java SDK used for the Android gradle build
| * Specify the path to the Java SDK used for the Android gradle buildFredia Huya-Kouadio2024-01-181-4/+50
| | | | | | | | Introduce an editor setting to allow users the ability to specify the path to the Java SDK used for the Android gradle build.
* | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* | Add clearer error message for missing project icon during android exportAlex Drozd2024-01-151-1/+5
| |
* | Hide Keystore Release password on Android's Export windowMicky2024-01-061-2/+2
| |
* | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-1/+1
|\ \ | | | | | | | | | Add const references detected by clang-tidy
| * | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-1/+1
| |/
* | Merge pull request #83702 from Patchcoat/VerifyKeystoreRémi Verschelde2024-01-041-0/+53
|\ \ | |/ |/| | | Ensure Android keystore username and password are checked on export
| * android keystore username and password are checked on exportPatchcoat2023-11-031-0/+53
| |
* | Merge pull request #85845 from YuriSizov/editor-export-hidden-errorsYuri Sizov2023-12-081-9/+11
|\ \ | | | | | | | | | Ensure more export errors are reported to users
| * | Ensure more export errors are reported to usersYuri Sizov2023-12-061-9/+11
| | | | | | | | | | | | | | | | | | | | | Also fixes the timing issue when exporting all presets at the same time, where the error report would try to appear while the progress dialog was still visible.
* | | Merge pull request #84676 from m4gr3d/update_package_name_validation_logicYuri Sizov2023-12-081-8/+8
|\ \ \ | |/ / |/| | | | | Update the validation logic for the package name
| * | Update the validation logic for the package name:Fredia Huya-Kouadio2023-11-091-8/+8
| | | | | | | | | | | | | | | - When using the project name, allow underscore (`_`) characters - Send a warning instead of an error when the project name is modified to fit the package name format
* | | Preserve the output from the gradle build commandFredia Huya-Kouadio2023-11-121-4/+10
| | | | | | | | | | | | Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
* | | Remove Android specific abis from the export preset feature listFredia Huya-Kouadio2023-11-101-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The presence of those abis cause them to be included in the set of `p_features` passed to the `gdextension_export_plugin#_export_file(...)` method, which caused them to be lumped in the `features_wo_arch` set. When trying to find the gdextension library path, we use a predicate with the following logic: ``` [features_wo_arch, arch_tag](String p_feature) { return features_wo_arch.has(p_feature) || (p_feature == arch_tag); } ``` For a `gdextension` config file like the one below, this causes the first android entry (`android.armeabi-v7a = ...`) to always be returned regardless of archs since it always satisfies the predicate. ``` [configuration] entry_symbol = "example_library_init" compatibility_minimum = 4.1 [libraries] linux.x86_64 = "res://libgdexample.so" android.armeabi-v7a = "res://libgdexample.android.template_release.armeabi-v7a.so" android.arm32 = "res://libgdexample.android.template_release.armeabi-v7a.so" android.x86 = "res://x86/libgdexample.android.template_release.x86.so" android.x86_32 = "res://x86/libgdexample.android.template_release.x86.so" android.x86_64 = "res://libgdexample.android.template_release.x86_64.so" android.arm64-v8a = "res://libgdexample.android.template_release.arm64-v8a.so" android.arm64 = "res://libgdexample.android.template_release.arm64-v8a.so" ```
* | Fix Andorid disabling splash screen Show Imagescgm02023-11-071-15/+22
| |
* | C#: Add checks to Android exportRaul Santos2023-10-101-0/+13
| | | | | | | | | | - Add .NET 7.0 TFM when the platform is Anroid to the created csproj. - Prevent exporting to Android when the architecture is not supported.
* | Add error checks for DirAccess creation.Saracen2023-09-261-0/+4
|/
* Change the default org.godotengine to com.exampleAdam Scott2023-09-111-1/+1
|
* Android: Add option to always use WiFi to connect to remote debugBrennen Shaughnessy2023-08-281-2/+6
|
* Add a button in the export dialog to fix missing texture formatsAaron Franke2023-08-171-3/+2
|
* Merge pull request #80569 from m4gr3d/show_in_app_library_settings_mainRémi Verschelde2023-08-161-0/+1
|\ | | | | | | Add export setting to control whether to show the Godot app in the app library
| * Add export setting to control whether to show the Godot app in the app libraryFredia Huya-Kouadio2023-08-131-0/+1
| |
* | C#: Fix exporting for Androidscgm02023-08-121-8/+5
|/
* Add a "version" project setting and use it in new export presetsHugo Locurcio2023-08-041-5/+5
| | | | | | | | | | This makes it easy to retrieve the project version at runtime for display purposes, while simplifying the export preset configuration. You can now leave the version empty unless you need to override it on a per-preset basis. Since export presets save the values of default values to the `export_presets.cfg` file, this change only affects export presets created after this commit was merged.
* Merge pull request #79351 from Repiteo/dotnet-handle-warningsYuri Sizov2023-07-261-8/+8
|\ | | | | | | C#: Fix MSVC dotnet builds failing if running `dev_mode`
| * Allow MSVC dev_mode builds to succeed with dotnetThaddeus Crews2023-07-171-8/+8
| | | | | | | | • Added #else section to mono #ifdef checks in relevant export_plugin scripts
* | Clean up the XR features parameters from coreFredia Huya-Kouadio2023-07-181-30/+0
| | | | | | | | | | | | Following on the previous commit, the XR features logic have now be moved to the Godot OpenXR loader plugin. See https://github.com/GodotVR/godot_openxr_loaders/pull/38
* | Re-architect how Android plugins are packaged and handled at export timeFredia Huya-Kouadio2023-07-181-26/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file. This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins. The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality: - `_supports_platform`: returns true if the plugin supports the given platform - `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin - `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies - `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin - `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest - `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest - `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
* | Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+1
| |
* | Merge pull request #78164 from 0xafbf/allow-export-tv-and-launcherYuri Sizov2023-07-141-0/+2
|\ \ | | | | | | | | | Add options to show icon in Android TV and run app as Android launcher
| * | Add options to show icon in Android TV and run app as Android launcherAndrés Botero2023-06-121-0/+2
| | |
* | | Merge pull request #78248 from felaugmar/load-svg-adjustable-scaleYuri Sizov2023-07-121-3/+2
|\ \ \ | |_|/ |/| | | | | Added `Image::load_svg_from_(buffer|string)`