11

I have recently updated to Android Bumblebee. And I am trying to connect my device wireless through wifi . But I get always get the message as seen in screenshot below .

I have updated to latest platform tools SDK 32 , but still the issue persists . Any help would be appreciated.

Wifi Pairing Issue Image

Yatin
  • 2,969
  • 9
  • 34
  • 68
  • I have the same Problem – OneDev Jan 29 '22 at 08:31
  • 1
    use this version of Android sdk build tools 32.1.0-rc1 – OneDev Jan 29 '22 at 08:37
  • I was able to fix this by installing the Bonjour Print Service from Apple's site. This is what Windows uses to provide mDNS, and it is installed by default but it was missing from my system for whatever reason. – Ahmouse Apr 17 '23 at 04:45

11 Answers11

4

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.

Wout Rombouts
  • 1,479
  • 2
  • 9
  • 15
  • I've run in to same issue after a recent update of gradle, android studio, or one of the platform-tools.. your workaround doesn't work for me unfortunately.. Which versions of android SDK build-tools do you have installed? I have everything above 30.0.0.. (30.0.1, 30.0.2, 30.0.3, 31, 32, 32.1.0-rc1, 33.0.0-rc2).. I know messing with these originally allowed me to do wifi pairing.. i've tried all sorts of combos, and still continue to get "mdns daemon unavailable".. I also don't get this pop up window you're referring to.. is it a windows firewall popup or something? – jfaron Feb 24 '22 at 19:27
  • What version of adb are you on? ```adb version Android Debug Bridge version 1.0.41 Version 33.0.0-8141338``` – jfaron Feb 24 '22 at 19:33
  • I'm also on adb version 1.0.41 and all other libs updated to the newest versions. Yes, the pop-up window is from windows firewall. Can you please check that adb.exe is allowed inbound and outbound network access in Windows Firewall -> Allow an app or feature trough Windows firewall. – Wout Rombouts Feb 25 '22 at 09:22
  • this solution worked for me. I am amazed that but uncheck and then check the mDNS, my problem is solved. I suspect this was because I kept my laptop on when switched different wifi. Thanks a lot. – oldpride Dec 18 '22 at 05:08
3

In my case, I have several virtual network adapters. disabling those virtual adapters solved the problem.

Benny
  • 8,547
  • 9
  • 60
  • 93
3

I tried all suggested steps, which were well explained but unfortunately didn't solve the problem for me. As I just found out, @Benny has found the same solution to this problem.

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.

Jason
  • 1,658
  • 3
  • 20
  • 51
  • This worked for me, I had two extra adapters - One for virtualbox and one for hamachi vpn. Disabled em both. – EReload Apr 23 '22 at 09:38
2

This may sometimes happen due to adb problems.

  1. To fix this, first go to the platform-tools/ folder located at
C:\Users\[User]\AppData\Local\Android\Sdk\platform-tools
  1. open CMD at this directory
  2. Now go to the wireless debugging menu located in Developer options note the
ipaddress:port

enter image description here

  1. Now type in the CMD you opened
adb connect ipadrress:port

And there you go. :)

Firenze
  • 365
  • 2
  • 11
1

Facing the same problem. I think it's an issue as of now as Bumblebee update is just a few days old, and it will be resolved in later updates.
Until then you can try using the other method i.e. pairing with OTP. It's mentioned in the official documentation as well. I tried it and it's working fine for me.

Connect to a device over Wi-Fi (Android 11+)

It is mentioned in the last step with an image of how pairing with OTP would give a successful response once paired. Also your workstation name will start displaying in your Android Device once paired successfully.

After that you just need to type this command in your terminal (as mentioned in @Ali Salehi's answer)-
adb connect ipaddr:port
[where ipaddr = IP Address, port = Port No., visible in the Wireless debugging option in our phone.]

Your device will then be visible in the Device Manager and apps will get installed directly over Wi-Fi!

1

enter image description here

may install fail. you should download it by yourself. platform-tools

then Connect to your device using Wi-Fi. May could not find devices

you should update PATH if you are WIN

Tiejun She
  • 79
  • 3
0

If you could not solve the problem , and you need to connect your smart phone to your pc , you can always do this :

in android SDK folder inside of "platform-tools" folder , open cmd

Connect the device and the computer to the same Wi-Fi network

Plug the device to the computer with a USB cable to configure the connection

On the computer command line type: adb tcpip 5555

On the computer command line type: adb shell ip addr show wlan0 and copy the IP address after the "inet" until the "/". You can also go inside the Settings of the device to retrieve the IP address in Settings → About → Status.

On the computer command line type: adb connect ip-address-of-device:5555

Ali Salehi
  • 164
  • 2
  • 9
0

Recently I updated my android build tools to version 32.1.0-rc1 and the problem where gone

OneDev
  • 557
  • 3
  • 14
0

For any future readers:

I ran into this problem as well, and it turns out my computer was missing the Bonjour Service that Windows uses to handle mDNS. I simply installed it from Apple's site here and Wi-Fi pairing started working.

Ahmouse
  • 195
  • 1
  • 12
-2

SOLVED

Go to Settings->Build->Debugger-> ADB

and set Automatically start and manage server.

You must have changed it to a manual value (second option) which causes that pop-up showing 'system does not meet requirement'

Rishabh Mehta
  • 427
  • 3
  • 2
-4

have you tried USB? Wifi might work if you have the code you can scan it with your phone.

harleyquin
  • 23
  • 5
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 29 '22 at 11:00
  • Need it from wifi – Yatin Feb 02 '22 at 10:38
  • going to vote you post down too since you voted me down – harleyquin Feb 05 '22 at 03:13