From 84c04a8ee3befda7548deb7f83fb77b6315793b2 Mon Sep 17 00:00:00 2001 From: Nathan Franke Date: Thu, 12 Nov 2020 12:56:18 -0600 Subject: [PATCH] Fix Android Export jarsigner error with *.import whitelist (cherry picked from commit 20bca313c0266d5d5508801f7b9b809fc26c2092) --- editor/editor_export.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 9738cc04faf..05ebaf0ecbd 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -713,6 +713,9 @@ Error EditorExportPlatform::export_project_files(const Ref & _edit_filter_list(paths, p_preset->get_include_filter(), false); _edit_filter_list(paths, p_preset->get_exclude_filter(), true); + // Ignore import files, since these are automatically added to the jar later with the resources + _edit_filter_list(paths, String("*.import"), true); + Vector > export_plugins = EditorExport::get_singleton()->get_export_plugins(); for (int i = 0; i < export_plugins.size(); i++) {