mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Update ADB Command to Install RenderDoc on Android
Added the --force-queryable flag to the adb install command for renderdoc Android on devices running Android R/11/SDK 30 A feature being introduced in Android R requires all explicit interactions between apps to be declared ahead of time (either via manifest or during adb install) The --force-queryable flag during adb install does this, and is what allows for the shared objects from renderdoc (in this case the layers) to be discoverable by other apps targeting SDK 30+
This commit is contained in:
committed by
Baldur Karlsson
parent
7aee537700
commit
050e9e1bba
@@ -413,7 +413,8 @@ ReplayStatus InstallRenderDocServer(const rdcstr &deviceID)
|
||||
"%s missing - ensure you build all ABIs your device can support for full compatibility",
|
||||
apk.c_str());
|
||||
|
||||
Process::ProcessResult adbInstall = adbExecCommand(deviceID, "install -r -g \"" + apk + "\"");
|
||||
Process::ProcessResult adbInstall =
|
||||
adbExecCommand(deviceID, "install -r -g --force-queryable \"" + apk + "\"");
|
||||
|
||||
RDCLOG("Installed package '%s', checking for success...", apk.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user