How to fix ADB Devices not Showing in Windows 11

Configurare noua (How To)

Situatie

Solutie

If you’re getting an “adb is not recognized as an internal or external command” error, you don’t have ADB’s path listed as an environment variable on your PC. You can fix this by adding the correct ADB path to your system settings. Here’s how to configure it.

  1. Open the Start menu, search for Environment Variables, and select the Edit the system environment variables option.
How to Fix ADB Devices Not Showing in Windows 11 image 2
  1. Choose Environment Variables.
  2. Select Path in System Variables and choose Edit.
How to Fix ADB Devices Not Showing in Windows 11 image 3
  1. Select New to create a new entry.
  2. Enter the path to your ADB folder (where the adb.exe file is located) and press Enter.
How to Fix ADB Devices Not Showing in Windows 11 image 4
  1. Select OK followed by OK.

From now on, you can run the adb command regardless of where you open a Command Prompt window.

Enable USB Debugging on Your Android Device

You must have USB debugging enabled on your Android phone to use it with ADB on your computer. If the option is disabled, ADB won’t be able to find your device on your computer.

Here’s how to toggle on USB debugging on Android:

  1. Unplug your Android device from your PC.
  2. Open Settings on your Android phone.
  3. Navigate to About device > Version in Settings.
  4. Tap Build number seven times to activate the Developer options menu.
How to Fix ADB Devices Not Showing in Windows 11 image 5
  1. Head back to Settings and choose System settings > Developer options.
  2. Turn on the USB debugging option.
How to Fix ADB Devices Not Showing in Windows 11 image 6
  1. Select OK in the prompt.
  2. Connect your phone to your computer using a USB cable.

Use the Appropriate Connection Type on Your Android Device

Your Android phone offers multiple connection options when you connect the phone to your computer. You must use an ADB-supported mode to allow the ADB tool on your computer to interact with your device.

  1. Connect your phone to your computer using a USB cable.
  2. Pull down from the top of your phone’s screen and tap the connection option.
  3. Choose an ADB-supported connection type. The exact name for this option varies by device. On our phone, it says Transfer files/Android Auto.
How to Fix ADB Devices Not Showing in Windows 11 image 7
  1. After selecting a connection type, access ADB on your PC and run the following command on command-line to view a list of devices:
    adb devices
  2. Select Allow in the prompt on your phone, and your phone will appear in the ADB device list on your PC.
How to Fix ADB Devices Not Showing in Windows 11 image 8

Windows 11 requires ADB driver software to interact with your ADB-enabled devices. The lack of these drivers can cause your PC not to detect your phone.

In this case, download and install the universal ADB drivers, and your issue will be fixed. You’ll update the driver if your PC already has older drivers installed.

  1. Open a web browser on your PC and head to the Universal ADB Drivers site.
  2. Select Download Drivers to download the driver file to your PC.
  3. Run the downloaded file to begin installing the drivers.
  4. Reboot your PC when you’ve installed the drivers. Do this by opening the Start menu, selecting Power, and choosing Restart.

Restart the ADB Server

If ADB still doesn’t work or find your device, give the ADB server a reboot to fix minor issues with it. Doing this turns off all ADB features and then reloads those features.

  1. Run the following command in CMD to disable the ADB server: adb kill-server
How to Fix ADB Devices Not Showing in Windows 11 image 10
  1. Use the following command to restart the server: adb start-server

If your Windows 11 PC still doesn’t communicate with your Android device via ADB, your PC’s USB port may have an issue. A faulty port can prevent your computer from recognizing your connected device, resulting in various error messages.

An easy way to fix that is to use an alternate USB port on your machine. Modern computers have multiple USB ports, so this fix isn’t too difficult.

Tip solutie

Permanent

Voteaza

(4 din 8 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?