diff options
author | reduz <reduzio@gmail.com> | 2021-07-15 10:12:56 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-07-15 10:14:08 -0300 |
commit | 6639cc98531013a995e3bda220a3f1a6412e678c (patch) | |
tree | 4d88a3295434c3c2b45ec004f4957d612dcdaf6e /platform/android/export/export.cpp | |
parent | f79e79d479e687cbc8448bf38dec62491e85c88b (diff) |
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.
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"; } |