mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
6931d0b954
The option launches a batch file that starts the apk in remoteserver mode, as well as taking care of port forwarding. Also have a batch file for manually starting and capturing an APK by its package name. They are both copied to the TargetDir as a PostBuildEvent.
7 lines
331 B
Batchfile
7 lines
331 B
Batchfile
adb shell am force-stop org.renderdoc.renderdoccmd
|
|
adb forward tcp:39970 tcp:39920
|
|
adb forward tcp:38970 tcp:38920
|
|
adb shell setprop debug.vulkan.layers \"\"
|
|
adb shell pm grant org.renderdoc.renderdoccmd android.permission.READ_EXTERNAL_STORAGE
|
|
adb shell am start -n org.renderdoc.renderdoccmd/.Loader -e renderdoccmd remoteserver
|