Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.31k stars 10.67k forks source link

scrcpy-noconsole.vbs doesn't request anything on Android #4255

Open volrod64 opened 1 year ago

volrod64 commented 1 year ago

Environment

I did plug my smartphone to my computer. Debogage USB is active. I did extract the .zip, then double clic on scrcpy-noconsole.vbs, nothing showed up on my phone. Tried again few times. Reboot PC, tried again. Reboot phone, tried again. Unplug it, again. If you need any other informations, i'll share them.

rom1v commented 1 year ago

Run scrcpy-console.bat, which opens a console and report any error.

volrod64 commented 1 year ago

The windows aumatically close. No error showed.

Le 24 août 2023 23:59:17 GMT+02:00, Romain Vimont @.***> a écrit :

Run scrcpy-console.bat, which opens a console and report any error.

-- Reply to this email directly or view it on GitHub: https://github.com/Genymobile/scrcpy/issues/4255#issuecomment-1692470444 You are receiving this because you authored the thread.

Message ID: @.***>

rom1v commented 1 year ago

The windows aumatically close. No error showed.

If you run scrcpy.exe, it will close. But scrcpy-console.bat should not if there is an error.

Another possibility is to open open_a_terminal_here.bat, and type scrcpy then press Enter, so the console will be kept open in any case.

volrod64 commented 1 year ago

I tried on another computer, it worked well. I had the pop up on my phone. It won't work with my personal computer tho, i don't have the request on my phone.So the issue come from me i guess. I'll try to debug it myself, i'll be back if i can't.

Le ven. 25 août 2023 à 08:11, Romain Vimont @.***> a écrit :

The windows aumatically close. No error showed.

If you run scrcpy.exe, it will close. But scrcpy-console.bat should not if there is an error.

Another possibility is to open open_a_terminal_here.bat, and type scrcpy then press Enter, so the console will be kept open in any case.

— Reply to this email directly, view it on GitHub https://github.com/Genymobile/scrcpy/issues/4255#issuecomment-1692950909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWO56FVT5EIPYI2NFFSHTHDXXBM35ANCNFSM6AAAAAA35TLFKE . You are receiving this because you authored the thread.Message ID: @.***>

rom1v commented 1 year ago

I'll try to debug it myself, i'll be back if i can't.

The console output if you use open_a_terminal_here.bat and run scrcpy from there will help :wink:

volrod64 commented 1 year ago
C:\Users\*****\Downloads\scrcpy-win64-v2.0>scrcpy.exe
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Could not find any ADB device
ERROR: Server connection failed

I guess the problem is from me. It work on a computer, but not on mine. Both Windows 11 22H2. Same cable, same phone.