1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Addes ability to load build sources from file.

* If not present, the dialog asks to load build sources from a file.
* The export templates check now also verifies that build sources are installed and skips the template check.

This makes Android development easier.

(cherry picked from commit 6639cc9853)
This commit is contained in:
reduz
2021-07-15 10:12:56 -03:00
committed by Rémi Verschelde
parent 7b6b402a0c
commit ca223d71d8
5 changed files with 32 additions and 7 deletions

View File

@@ -2125,10 +2125,9 @@ public:
err += template_err;
}
} else {
r_missing_templates = !exists_export_template("android_source.zip", &err);
bool installed_android_build_template = FileAccess::exists("res://android/build/build.gradle");
if (!installed_android_build_template) {
r_missing_templates = !exists_export_template("android_source.zip", &err);
err += TTR("Android build template not installed in the project. Install it from the Project menu.") + "\n";
}