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

Scrcpy + emulator issues #1765

Open
VytenisN opened this issue Sep 16, 2020 · 3 comments
Open

Scrcpy + emulator issues #1765

VytenisN opened this issue Sep 16, 2020 · 3 comments

Comments

@VytenisN
Copy link

VytenisN commented Sep 16, 2020

I have read the FAQ.
I have searched in existing issues.
Environment

OS: Windows 10
scrcpy version: 1.16
installation method: Windows Release, Unzipped to folder

Describe the bug
I am trying to run scrcpy + Nox/Ldplayer 4 emulator simultaneously on Windows 10. Is it even possible ?

As soon as I open any emulator, scrcpy disconnects. From my limited technical knowledge it is caused by different versions of adb server. However, i am not sure what is the path for Nox's adb if I want to set Scrcpy to it .

When running both simultaneously I get multiple errors like:

adb server version (36) doesn't match this client (41)
adb: error: failed to get feature set: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
ERROR: "adb push" returned with value 1
Press any key to continue...

Also a very noob question, but I am not even sure how to run terminal in windows since any command ( like scrcpy --help) returns me nothing except same line repeated

Would be very grateful for any help

@rom1v
Copy link
Collaborator

rom1v commented Sep 16, 2020

it is caused by different versions of adb

Yes: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

am not sure what is the path for Nox's adb if I want to set Scrcpy to it .

Sorry, I don't know where it is (I don't know Nox).

I am not even sure how to run terminal in windows

Windows+r, cmd.exe opens a terminal.
Go to the scrcpy directory cd C:\.......your\scrcpy\directory
Then type scrcpy --help (for example). See #385

@VytenisN
Copy link
Author

Thanks a lot.
However it seems that I need to set up path for adb for every scrcpy instance and every time i open a PC.
Is it possible to set it up globally for all times ?

@rom1v
Copy link
Collaborator

rom1v commented Sep 16, 2020

Sure, search "windows set environment variable".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants