From 9e026fecef94c5bc52ecddf6db5ec60c76b2e3be Mon Sep 17 00:00:00 2001 From: sanikoyes Date: Fri, 18 Mar 2016 18:11:55 +0800 Subject: Add -r flag to adb install for keep app user data --- platform/android/export/export.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'platform') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 0f1cbdc73a..e65a712a17 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1567,6 +1567,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) { args.push_back("-s"); args.push_back(devices[p_device].id); args.push_back("install"); + args.push_back("-r"); args.push_back(export_to); err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv); -- cgit v1.2.3