Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
105.6k stars 10.25k forks source link

Windows 11: Sometimes scrpy doesn't open #4957

Open casperzapototsky opened 1 month ago

casperzapototsky commented 1 month ago

Environment

Describe the bug Sometimes scrpy doesn't open

https://github.com/Genymobile/scrcpy/assets/83375928/7cea354f-66d8-489e-9e97-5766819bacec

casperzapototsky commented 1 month ago

When I open this app for the first time after PC launches, I cannot reproduce this issue

rom1v commented 1 month ago

Please read: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

You will be able to read the error message.

casperzapototsky commented 1 month ago

WindowsTerminal_88PrBlzJX8

But why after the PC restarts I am able to open it without any problem

rom1v commented 1 month ago

OK, so the device is not detected. It probably takes some times for your device to be detected once the adb daemon is started (and it is started the first time you execute and adb command, which is probably when you start scrcpy in your case).