Skip to content

Commit 5b80dc9

Browse files
author
fhuya
committed
Fix android template install validation.
1 parent e2b66ca commit 5b80dc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

editor/export_template_manager.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,7 @@ void ExportTemplateManager::_notification(int p_what) {
547547
bool ExportTemplateManager::can_install_android_template() {
548548

549549
const String templates_dir = EditorSettings::get_singleton()->get_templates_dir().plus_file(VERSION_FULL_CONFIG);
550-
return FileAccess::exists(templates_dir.plus_file("android_source.zip")) &&
551-
FileAccess::exists(templates_dir.plus_file("android_release.apk")) &&
552-
FileAccess::exists(templates_dir.plus_file("android_debug.apk"));
550+
return FileAccess::exists(templates_dir.plus_file("android_source.zip"));
553551
}
554552

555553
Error ExportTemplateManager::install_android_template() {

0 commit comments

Comments
 (0)