skip to Main Content

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

12

Answers


  1. 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.

    Login or Signup to reply.
  2. One solution is to restart your PC after you have updated everything. this may restart ADB server totally.

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
  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.

    Login or Signup to reply.
  5. I have same issue , but i downloaded "ADB Wi-Fi" plugin and it works perfectly for Wi-Fi pairing.

    Login or Signup to reply.
  6. File > Invalidate Caches… worked for me:

    Android Studio File menu

    Select Invalidate and Restart:
    Invalidate Caches window

    Login or Signup to reply.
  7. 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 PanelNetwork and InternetNetwork 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.

    Login or Signup to reply.
  8. 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

    Login or Signup to reply.
  9. 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.
    Login or Signup to reply.
  10. 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’
    Login or Signup to reply.
  11. Just try using terminal with as normal as before just change adb to .adb and connect your device with wireless debugging…

    Login or Signup to reply.
  12. if your PC have wireless ADAPTER like TP-LINK and there is no cable to the router. this will broken the connection. I solved this issue with:

    1. Create A hospot in your phone
    2. connect your pc to the phone hotspot instead.
    3. then use pairing with code (on your phone)
    4. input in android studio terminal : pair adb <ipaddress-pair>:<port-pair>
    5. input password
    6. adb connect <ipaddress-connect>:<port-connect>

    maybe this will save your 2 hours

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search