mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-31 19:44:31 +01:00
Determine debugger command at runtime
When server_debugger is enabled, retrieve the device SDK version to execute the correct command. PR #5466 <https://github.com/Genymobile/scrcpy/pull/5466>
This commit is contained in:
@@ -461,15 +461,6 @@ meson setup x -Dserver_debugger=true
|
||||
meson configure x -Dserver_debugger=true
|
||||
```
|
||||
|
||||
If your device runs Android 8 or below, set the `server_debugger_method` to
|
||||
`old` in addition:
|
||||
|
||||
```bash
|
||||
meson setup x -Dserver_debugger=true -Dserver_debugger_method=old
|
||||
# or, if x is already configured
|
||||
meson configure x -Dserver_debugger=true -Dserver_debugger_method=old
|
||||
```
|
||||
|
||||
Then recompile.
|
||||
|
||||
When you start scrcpy, it will start a debugger on port 5005 on the device.
|
||||
|
||||
Reference in New Issue
Block a user