'Android Studio Bumblebee Wifi pairing Issue

I have used Android Studio Bumblebee's latest function (Wifi pairing) for 2 - 3 days before it stopped working.
I am now receiving the error "This system does not meet the requirements to support Wi-Fi pairing. Please update to the latest version of "platform-tools" using the SDK manager"

I have updated everything to the latest version.

Screenshot of the error message



Solution 1:[1]

I had to set the environment variable ADB_MDNS_OPENSCREEN to 1.

Here's my PowerShell code:

$env:ADB_MDNS_OPENSCREEN=1
adb kill-server
adb start-server

This is because MDNS is disabled by default in v 31.0.2: https://source.android.com/devices/automotive/virtualization/tools

Solution 2:[2]

I had a similar problem and managed to solve it the following way:

Quick fix

  1. In Android Studio, File -> Settings
  2. Build, Execution, Deployment -> Debugger
  3. Under Android Debug Bridge (adb), uncheck 'Enable adb mDNS for wireless debugging' and Apply
  4. Wait some seconds for changes to take effect
  5. Recheck 'adb mDNS for wireless debugging' and Apply
  6. On the pop-up window from Windows Defender, allow network access to adb

Extended sollution
By checking the Android Studio logs (Help -> Show Log in Explorer) you can find an error message regarding the adb mDNS daemon.

INFO - ireless.WiFiPairingServiceImpl - 'adb mdns check' (not supported) result:
INFO - ireless.WiFiPairingServiceImpl - ERROR: mdns daemon unavailable
INFO - ireless.WiFiPairingServiceImpl - Checking if mDNS is supportState result: NotSupported

If you run that command in e.g. Powershell (adb mdns check) you will see that you get the exact same error message. After some research I found out you could disable this mDNS service in the Andoid Studio settings.

  1. File -> Settings
  2. Build, Execution, Deployment -> Debugger
  3. Under Andoird Debug Bridge (adb), uncheck 'Enable adb mDNS for wireless debugging'
  4. Hit apply
  5. Recheck 'adb mDNS for wireless debugging'
  6. Hit apply

Now a pop-up window should appear asking you to allow adb network access. Click on allow access.
Wi-Fi pair should work now.

See also: Pairing new device on Android Studio BumbleBee over Wifi

Solution 3:[3]

My guess is that you have an old version of platform-tools/adb installed somewhere (you can verify this by running which adb in your command prompt).

Find the right platform-tools

You can find the pathway to the platform-tools/adb you want to use in Android Studios under Settings -> Appearance & Behavior -> System Settings -> Android SDK. enter image description here

Inside of this folder should be another folder called "platform-tools". enter image description here

Update your PATH

You'll want to add this folder to your PATH and remove the old one.

enter image description here

Restart Android Studio

For the changes to take effect, you'll need to restart the IDE.

File -> Invalidate Caches -> Invalidate and Restart

Another Solution

If the above doesn't work, you can also uninstall and reinstall platform-tools using the sdkmanager command.
sdkmanager --uninstall "platform-tools"

Once platform-tools is uninstalled, you can use the SDK Manager in Android Studio to reinstall.

Solution 4:[4]

If your PC has a wifi adapter, disable it. Fixed it for me.

I just updated windows 10 to 20H2 and whatever recent service pack it's been asking for, for months. I think it re-enabled my wifi adapter, or did something to break adb mdns.

Anyways, none of these suggestions worked. Hopefully this saves someone 2 hours.

Solution 5:[5]

I have same issue , but i downloaded "ADB Wi-Fi" plugin and it works perfectly for Wi-Fi pairing.

Solution 6:[6]

File > Invalidate Caches... worked for me:

Android Studio File menu

Select Invalidate and Restart: Invalidate Caches window

Solution 7:[7]

Worked for me --> I tried below steps,

  1. unistall previous installed platform-tools and install again
  2. uncheck and check again in Android Studio Sesttings -> Build, Execution, Deployment -> Debugger -> 'Enable adb mDNS for wireless debugging' then apply
  3. Invalid caches in File then check all checks then click on 'Invalidate caches and Restart'

Solution 8:[8]

One solution is to restart your PC after you have updated everything. this may restart ADB server totally.

Solution 9:[9]

I tried all suggested steps, which were well explained but unfortunately didn't solve the problem for me. I found out that by disabling the network adapter for my NordVPN, the issue suddenly disappeared. If you are using Windows, I'd suggest you check if you have any network adapter which could be disabled.

You can enter this path (Control Panel\Network and Internet\Network Connections) in your top bar of the Control Panel if you would not like to click through some steps, otherwise just follow these steps:

  1. Go to "Control Panel" in Windows
  2. Click on "Network and Internet"
  3. Click on "Network and Sharing Center"
  4. Click on "Change adapter settings"
  5. Right-mouse click on any adapter you wish to disable

After these changes, check your Android Studio to see if disabling the adapter solved your problem.

Solution 10:[10]

To solve this, you can view this solution on Youtube https://www.youtube.com/watch?v=BmetRGkmH6g or

  • go to your Android studio
  • settings
  • head to debugger untick ADB mDNS and apply
  • then head back and tick the ADB and try running again, that should work.

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
Solution 2 rombie18
Solution 3 Joe Muller
Solution 4 jfaron
Solution 5 Shivam Tiwari
Solution 6 Sdghasemi
Solution 7 Karthik Kompelli
Solution 8 S.A.Parkhid
Solution 9 Jason
Solution 10 oriohac