From d2833d4f4d891b6a0ee32a04f9d32a410b998b93 Mon Sep 17 00:00:00 2001 From: Nils ANDRÉ-CHANG Date: Sun, 16 Jun 2019 13:31:57 +0100 Subject: Replace ` + "/" + ` with `String::file_add()` --- platform/android/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 30267aa968..a336402686 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -597,7 +597,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform { if (abi_index != -1) { exported = true; String abi = abis[abi_index]; - String dst_path = "lib/" + abi + "/" + p_so.path.get_file(); + String dst_path = String("lib").plus_file(abi).plus_file(p_so.path.get_file()); Vector array = FileAccess::get_file_as_array(p_so.path); Error store_err = store_in_apk(ed, dst_path, array); ERR_FAIL_COND_V(store_err, store_err); -- cgit v1.2.3