#7215 try to fix adb bad targeting user on device
(cherry picked from commit 8c19a6cb85
)
This commit is contained in:
parent
1eb9925f58
commit
ab7faa1281
|
@ -1748,6 +1748,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) {
|
|||
args.push_back("shell");
|
||||
args.push_back("am");
|
||||
args.push_back("start");
|
||||
args.push_back("--user 0");
|
||||
args.push_back("-a");
|
||||
args.push_back("android.intent.action.MAIN");
|
||||
args.push_back("-n");
|
||||
|
@ -1912,4 +1913,3 @@ void register_android_exporter() {
|
|||
EditorImportExport::get_singleton()->add_export_platform(exporter);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue