Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support different adb servers #147

Closed
alonstern opened this issue May 11, 2018 · 2 comments
Closed

support different adb servers #147

alonstern opened this issue May 11, 2018 · 2 comments

Comments

@alonstern
Copy link

add the ability to pass the adb server ip and port so this will also work with adb servers not only on localhost and 5037
Thanks :)

@rom1v
Copy link
Collaborator

rom1v commented May 27, 2018

I tag it as a feature request.

Meanwhile, as a workaround, you can set the ADB env variable to a custom script:

Here is /usr/local/bin/myadb:

#!/bin/sh
adb -P5038 "$@"

(make it executable)

ADB=/usr/local/bin/myadb scrcpy

(but not very convenient)

@rom1v
Copy link
Collaborator

rom1v commented May 27, 2018

Also see #144.

(use ADB_SERVER_SOCKET)

@rom1v rom1v closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants