mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00: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:
parent
24588cb637
commit
9f39a5f2d6
6 changed files with 42 additions and 23 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue