Enable the "developer mode"--"USB debugging"&"USB debugging(Security settings)" on Android
Launch the Scrcpy,connect the mobile&PC with a USB cable
Click "Allow USB debugging"