'Pair new device over wifi not working in android studio bumblebee

when I try pair device with this, QR code and Pairing code not work and stuck in searching for device...

I have phone with android 11 & 12 and Wifi debugging is on

enter image description here



Solution 1:[1]

I also facing the same issue, it was working fine for a couple of weeks but then I'm no longer able to connect to my phone via QR Code or pairing code.

What's working for me is connect it via terminal.

adb connect [phone_ip]:[port]

The details for IP and port can be viewed at Settings > System > Developer Options > Wireless debugging (Under Debugging) > Enable it & you should be able to see "IP address & Port" here

Solution 2:[2]

This is an Android Studio Bug since it does not work reliably.

Make sure you tested these steps Android 11 pairing over WIFI

Make sure your

Ensure that your workstation and device are connected to the same wireless network.

Ensure that your device is running Android 11 or higher. For more informaton, see Check & update your Android version.

Ensure that you have Android Studio Bumblebee. 

On your workstation, update to the latest version of the SDK Platform-Tools.

For the 4th point Sdk Manager> SDK Tools > Android SDK Build Tools

You can use a plugin called ADB WI FI from the plugin marketplace in the meantime.

It does require you to plug your cable once but doesn't require it after that . Also you can pair it with scrcpy to project your screen on your laptop

Solution 3:[3]

Restarting the device helped me

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mike
Solution 2 Narendra_Nath
Solution 3 Bakyt Abdrasulov