diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-15 18:22:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 18:22:26 +0200 |
commit | 296b713ee81153527851e5c71f8e86b0690b18b6 (patch) | |
tree | 7c27935d831c1d58ead84f17651641ec7c7f0e08 /platform/android/export/export.cpp | |
parent | 9427bf38427da6366118bfd21fbb2f064bc5719d (diff) | |
parent | 6639cc98531013a995e3bda220a3f1a6412e678c (diff) |
Merge pull request #50481 from reduz/install-android-build-sources
Added ability to load Android build sources from file.
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r-- | platform/android/export/export.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 6661698d3e..956b59ce80 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -2064,10 +2064,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"; } |