Device unauthorized
What to do with this man ? :(
Multiple time replug, usb debugging enabled. Is there any way around it?
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#device-unauthorized
You need to enable usb debugging mode in developer options. After it run "adb devices" command. There you find Is your device is authorized or not. If there is status "device" then run scrcpy command and it will work perfectly.
In my case "Settings" > "Developer options" > "Revoke USB debugging authorizations" then I disable USB debugging Mode and then enabled again in this case it will ask allow for this pc or machine then after that unauthorized error remove for me and it is working fine :) good luck for you