Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
113.18k stars 10.8k forks source link

redmi k30pro android 11 cannot connet with wlan #2170

Open aoy1 opened 3 years ago

aoy1 commented 3 years ago

Microsoft Windows [版本 10.0.17763.55] (c) 2018 Microsoft Corporation。保留所有权利。

C:\Users\aylov\Desktop\scrcpy-win64-v1.17>adb pair 192.168.68.219:37517 Enter pairing code: 582097 Successfully paired to 192.168.68.219:37517 [guid=adb-8079df11-FeTcHY]

C:\Users\aylov\Desktop\scrcpy-win64-v1.17>scrcpy INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy adb: error: failed to get feature set: no devices/emulators found ERROR: "adb push" returned with value 1

rom1v commented 3 years ago

Is the device listed in adb devices?

aoy1 commented 3 years ago

设备是否列在中adb devices

I don't quite understand. It's connected through WiFi. What should I do

rom1v commented 3 years ago

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#device-not-detected

I've never used adb pair, but for scrcpy to work, the device must be detected via adb devices.

rom1v commented 3 years ago

https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+ step 9

Did you call adb connect after adb pair?

aoy1 commented 3 years ago

https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+步骤9

你叫adb connectadb pair

OK, let me study it. I just want to say that wireless connection is more convenient. thank you

LonelyHowl commented 3 years ago

I don't know if this will work for you, but after following these steps it worked! https://www.youtube.com/watch?v=vuTdxa-w1js