From 7de67f6c48177b350d04e04b98269bdf1332e330 Mon Sep 17 00:00:00 2001 From: fhuya Date: Mon, 2 Mar 2020 10:53:05 -0500 Subject: [PATCH] Fix android template install validation. (cherry picked from commit 5b80dc9a2ad6425533107f04ab0696f2c229baf2) --- editor/export_template_manager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp index cb636f8cdcc..45b132e481d 100644 --- a/editor/export_template_manager.cpp +++ b/editor/export_template_manager.cpp @@ -547,9 +547,7 @@ void ExportTemplateManager::_notification(int p_what) { bool ExportTemplateManager::can_install_android_template() { const String templates_dir = EditorSettings::get_singleton()->get_templates_dir().plus_file(VERSION_FULL_CONFIG); - return FileAccess::exists(templates_dir.plus_file("android_source.zip")) && - FileAccess::exists(templates_dir.plus_file("android_release.apk")) && - FileAccess::exists(templates_dir.plus_file("android_debug.apk")); + return FileAccess::exists(templates_dir.plus_file("android_source.zip")); } Error ExportTemplateManager::install_android_template() {