PC パソコン

How to Fix Android Studio Not Detecting a Physical Device

When you connect an Android phone or tablet to your computer, Android Studio may fail to show the physical device in the target-device list.

adb devices

List of devices attached

If the list is empty even though the device is connected over USB, ADB is not detecting the physical device.

Common causes include disabled USB debugging, a charge-only USB cable, missing or incorrect Windows ADB drivers, incomplete RSA authorization, a stuck ADB server, outdated Platform Tools, USB port problems, or manufacturer-specific device settings.

Google’s current Android development documentation instructs developers to enable USB debugging in Developer options and use adb devices to verify a physical-device connection. Android Studio also provides a Connection Assistant specifically for troubleshooting device connectivity. :contentReference[oaicite:18]{index=18}

This article explains the main reasons Android Studio does not detect a physical device and practical fixes for Windows, macOS, Linux, USB debugging, drivers, ADB, and wireless debugging.

  1. What Does a Properly Detected Device Look Like?
  2. Common Causes
    1. 1. USB Debugging Is Disabled
    2. 2. Developer Options Are Not Enabled
    3. 3. RSA Debugging Authorization Has Not Been Approved
    4. 4. The USB Cable Supports Charging Only
    5. 5. The USB Cable Is Damaged
    6. 6. The USB Port, Hub, or Adapter Is the Problem
    7. 7. The Windows ADB Driver Is Missing or Incorrect
    8. 8. The ADB Server Is Stuck
    9. 9. Android SDK Platform Tools Are Outdated
    10. 10. Android Studio and the Terminal Use Different ADB Installations
    11. 11. The Device USB Mode Is in an Unusual State
    12. 12. Manufacturer-Specific Security Settings Interfere
    13. 13. Linux Permissions or udev Rules Are Missing
  3. Solution 1: Enable Developer Options
  4. Solution 2: Enable USB Debugging
  5. Solution 3: Approve the RSA Debugging Prompt
  6. Solution 4: Revoke and Reauthorize USB Debugging
  7. Solution 5: Check the Device State with adb devices
  8. Solution 6: Restart the ADB Server
  9. Solution 7: Use Android Studio’s Connection Assistant
  10. Solution 8: Try Another USB Cable
  11. Solution 9: Try Another USB Port
  12. Solution 10: Change the USB Connection Mode
  13. Solution 11: Check the Windows ADB Driver
  14. Solution 12: Check Google USB Driver or the OEM Driver
  15. Solution 13: Update Android SDK Platform Tools
  16. Solution 14: Check Which adb Binary Is Being Used
  17. Solution 15: Restart the Android Device
  18. Solution 16: Restart the Computer
  19. Solution 17: Restart Android Studio
  20. Solution 18: Check the plugdev Group on Ubuntu
  21. Solution 19: Install Android udev Rules on Ubuntu
  22. Solution 20: Check Manufacturer-Specific Developer Settings
  23. If adb devices Works but Android Studio Does Not Show the Device
  24. If the Computer Sees the Phone but adb devices Does Not
  25. If the Device Charges but Android Studio Cannot See It
  26. If the Device Is Unauthorized
  27. If the Device Is Offline
  28. Use Wireless Debugging as an Alternative
  29. If Wireless Debugging Also Fails
  30. Test with Another Physical Device
  31. If the Emulator Works but the Physical Device Does Not
  32. If Neither Physical Devices nor the Emulator Are Detected
  33. Fastest Troubleshooting Order
  34. Security Considerations
  35. If the Problem Still Occurs
  36. Summary

What Does a Properly Detected Device Look Like?

When Android Studio detects a physical device correctly, the phone or tablet appears in the target-device selector near the Run controls.

You can also verify the connection from a terminal:

adb devices

A healthy connection looks similar to:

List of devices attached ABC123456789 device

The device state means that ADB can normally communicate with the target.

If the list is empty:

List of devices attached

ADB does not currently detect the physical device.

If you see:

ABC123456789 unauthorized

the device is detected but USB debugging authorization has not completed.

If you see:

ABC123456789 offline

ADB can see the device but does not have a healthy communication session.

Troubleshooting rule:
Empty device list → check USB, debugging, and drivers.
unauthorized → approve RSA debugging authorization.
offline → restart or re-establish the ADB connection.

Common Causes

1. USB Debugging Is Disabled

A physical Android device normally requires USB debugging to be enabled in Developer options before it can be used through ADB.

2. Developer Options Are Not Enabled

USB debugging is located inside Developer options, which is normally hidden until enabled.

3. RSA Debugging Authorization Has Not Been Approved

When a device connects to a new development computer, Android displays an “Allow USB debugging?” prompt.

If you do not approve it, the device usually appears as unauthorized.

4. The USB Cable Supports Charging Only

Some USB cables carry power but do not support data transfer.

A phone can therefore charge normally while remaining invisible to ADB.

5. The USB Cable Is Damaged

A damaged data line can make ADB communication unstable even when charging continues to work.

6. The USB Port, Hub, or Adapter Is the Problem

USB hubs, docking stations, adapters, and faulty ports can interrupt data communication.

7. The Windows ADB Driver Is Missing or Incorrect

On Windows, some Android devices require the appropriate USB driver before they appear as an ADB interface.

Google’s device-development documentation specifically notes that Windows systems may need an ADB USB driver or OEM driver. :contentReference[oaicite:19]{index=19}

8. The ADB Server Is Stuck

The host-side ADB server can occasionally fail to rescan connected USB devices correctly.

9. Android SDK Platform Tools Are Outdated

ADB is included in Android SDK Platform Tools.

An outdated ADB installation can cause connectivity problems with newer development environments or devices.

10. Android Studio and the Terminal Use Different ADB Installations

If multiple Android SDKs exist on the computer, Android Studio and your terminal may launch different ADB binaries.

11. The Device USB Mode Is in an Unusual State

The Android USB connection may need to be reinitialized by changing USB modes or reconnecting the device.

12. Manufacturer-Specific Security Settings Interfere

Some Android manufacturers add extra development or USB security controls beyond standard USB debugging.

13. Linux Permissions or udev Rules Are Missing

On Ubuntu and related Linux environments, the user may need appropriate group membership and udev rules for ADB USB access.

Google’s current documentation describes adding the user to the plugdev group and installing Android device udev rules where required. :contentReference[oaicite:20]{index=20}

Solution 1: Enable Developer Options

If Developer options are not visible, enable them first.

A typical procedure is:

  1. Open Android Settings.
  2. Open About phone or Device information.
  3. Tap Build number repeatedly.
  4. Return to Settings and open Developer options.

Exact menu names vary by manufacturer.

Solution 2: Enable USB Debugging

Open Developer options and enable USB debugging.

Settings → System → Developer options → USB debugging

Google’s physical-device development documentation explicitly instructs developers to enable USB debugging before debugging a device over USB. :contentReference[oaicite:21]{index=21}

Solution 3: Approve the RSA Debugging Prompt

Unlock the Android device after connecting it.

You may see:

Allow USB debugging?

The computer's RSA key fingerprint is:
XX:XX:XX:XX:...

Cancel
Allow

If this is your trusted development computer, select Allow.

You may also select:

Always allow from this computer

Then verify:

adb devices

The result should change to:

ABC123456789 device

Solution 4: Revoke and Reauthorize USB Debugging

If a previously working computer suddenly stops authorizing correctly, reset the stored USB debugging authorization.

In Developer options, choose:

Revoke USB debugging authorizations

Reconnect USB and approve the RSA prompt again.

Solution 5: Check the Device State with adb devices

Do not rely only on Android Studio’s device selector.

Run:

adb devices

Normal:

ABC123456789 device

Authorization required:

ABC123456789 unauthorized

Communication problem:

ABC123456789 offline

No detection:

List of devices attached

Google’s Android documentation also recommends running adb devices from the SDK’s Platform Tools directory to verify whether a physical device is connected. :contentReference[oaicite:22]{index=22}

Solution 6: Restart the ADB Server

Reset the host-side ADB server:

adb kill-server adb start-server adb devices

Android Studio’s Connection Assistant also provides a Restart ADB server control. Google’s current documentation recommends this when rescanning USB devices does not restore the connection. :contentReference[oaicite:23]{index=23}

Solution 7: Use Android Studio’s Connection Assistant

Open:

Tools → Troubleshoot Device Connections

The Connection Assistant can help with:

  • Rescanning USB devices
  • Checking USB debugging
  • Restarting the ADB server
  • Reviewing detected devices

Google documents this assistant as the primary step-by-step tool for troubleshooting Android Studio physical-device connections. :contentReference[oaicite:24]{index=24}

Solution 8: Try Another USB Cable

Use another known-good USB cable that supports data transfer.

Google’s current troubleshooting instructions specifically recommend trying another USB cable when the Connection Assistant cannot detect a device. :contentReference[oaicite:25]{index=25}

Suspect the cable when:

  • The phone charges but ADB never sees it.
  • File transfer also fails.
  • The device repeatedly connects and disconnects.
  • Moving the cable interrupts the connection.
  • A different cable works correctly.

Solution 9: Try Another USB Port

Remove unnecessary USB hardware and test a direct connection.

  • Try another USB port.
  • Remove USB hubs.
  • Disconnect docking stations.
  • Remove unnecessary USB-C adapters.

Solution 10: Change the USB Connection Mode

Open the USB notification on the Android device and try a mode such as:

File Transfer / Android Auto

ADB itself does not always require File Transfer mode, but changing the mode can reinitialize the USB connection.

Solution 11: Check the Windows ADB Driver

On Windows, open Device Manager with the Android device connected.

Inspect entries such as:

  • Android Device
  • Android ADB Interface
  • Portable Devices
  • Other devices

A warning icon may indicate a driver problem.

Google’s documentation instructs Windows users to install the appropriate USB driver when required and provides links to OEM drivers. :contentReference[oaicite:26]{index=26}

Solution 12: Check Google USB Driver or the OEM Driver

Supported Google devices can use the Google USB Driver provided through Android Studio’s SDK Manager.

Other manufacturers may require their own OEM USB driver.

Prefer the device manufacturer’s official driver when one is required.

Solution 13: Update Android SDK Platform Tools

Open:

Tools → SDK Manager → SDK Tools

Update Android SDK Platform-Tools.

Google’s current troubleshooting documentation also recommends using the latest SDK Platform Tools when Android Studio cannot connect correctly to an Emulator, which helps isolate host-side ADB problems. :contentReference[oaicite:27]{index=27}

Then restart ADB:

adb kill-server adb start-server adb devices

Solution 14: Check Which adb Binary Is Being Used

If more than one Android SDK exists, check the current ADB path.

macOS and Linux:

which adb

Windows:

where adb

Also check:

adb version

If an old SDK or third-party tool takes precedence, standardize on the Platform Tools installation configured in Android Studio.

Solution 15: Restart the Android Device

The device-side USB service or adbd may occasionally become stuck.

Restart the phone or tablet, unlock it, reconnect USB, and run:

adb devices

Solution 16: Restart the Computer

If restarting ADB does not help, reboot the development computer.

This can fully reset USB drivers and remaining ADB processes, especially on Windows.

Solution 17: Restart Android Studio

If adb devices shows the device as device but Android Studio still does not display it, restart Android Studio.

You can restart ADB first:

adb kill-server adb start-server

Solution 18: Check the plugdev Group on Ubuntu

On Ubuntu, users that access devices through ADB may need to belong to the plugdev group.

Google currently documents the following command: :contentReference[oaicite:28]{index=28}

sudo usermod -aG plugdev $LOGNAME

Group changes take effect after logging out and back in.

Verify with:

id

Solution 19: Install Android udev Rules on Ubuntu

Linux systems may need appropriate udev rules for Android USB devices.

Google’s current Ubuntu instructions recommend the package: :contentReference[oaicite:29]{index=29}

sudo apt-get install android-sdk-platform-tools-common

Reconnect the device and check:

adb devices

Solution 20: Check Manufacturer-Specific Developer Settings

Some Android devices expose additional development-security options such as:

USB debugging USB debugging (Security settings) Install via USB

Start with standard USB debugging and RSA authorization before changing manufacturer-specific options.

If adb devices Works but Android Studio Does Not Show the Device

If:

ABC123456789 device

appears correctly in ADB but Android Studio’s device selector remains empty, the physical USB connection is probably already working.

Try:

  1. Restart Android Studio.
  2. Restart the ADB server.
  3. Update Platform Tools.
  4. Confirm Android Studio and the terminal use the same SDK.

If the Computer Sees the Phone but adb devices Does Not

If file transfer works but ADB does not list the device, focus on:

  • USB debugging
  • RSA authorization
  • The Windows ADB Interface driver
  • The ADB server

A working USB file-transfer connection does not automatically mean that ADB is configured correctly.

If the Device Charges but Android Studio Cannot See It

Charging proves only that power reaches the phone.

It does not prove that USB data communication works.

Try this order:

  1. Use another data-capable cable.
  2. Try another USB port.
  3. Check the device’s USB mode.
  4. Confirm USB debugging.

Google’s current troubleshooting guidance specifically recommends testing another USB cable when a physical device cannot be detected. :contentReference[oaicite:30]{index=30}

If the Device Is Unauthorized

If:

ABC123456789 unauthorized

appears, USB and ADB detection are already partly working.

Unlock the Android device and approve the RSA USB debugging dialog.

If the Device Is Offline

If:

ABC123456789 offline

appears, ADB detects the target but cannot communicate with it correctly.

Restart the server:

adb kill-server adb start-server

If necessary, reconnect USB and restart the Android device.

Use Wireless Debugging as an Alternative

When USB connectivity is problematic, supported Android versions can use wireless debugging.

Android 11 and later support deploying and debugging applications wirelessly through ADB. :contentReference[oaicite:31]{index=31}

Typical requirements include:

  • A supported Android version
  • Developer options enabled
  • Wireless debugging enabled
  • Network connectivity between the computer and device
  • A current Android Studio and Platform Tools installation

In Android Studio, choose:

Pair Devices Using Wi-Fi

and pair the device using a QR code or pairing code. Google’s current documentation describes both methods. :contentReference[oaicite:32]{index=32}

If Wireless Debugging Also Fails

Check:

  • Whether the computer and phone can communicate on the current network.
  • Whether Wireless debugging is enabled.
  • Whether the computer is still paired.
  • Whether a VPN or enterprise network blocks local communication.
  • Whether Platform Tools are current.

If necessary, forget the workstation from the device and pair it again.

Test with Another Physical Device

If you have another Android device, connect it using the same computer and cable.

If Device A fails but Device B works, the problem is more likely to be specific to Device A.

If neither device works, investigate the computer, cable, drivers, or ADB environment.

Google’s Connection Assistant troubleshooting flow similarly recommends using another cable or another Android device to isolate whether the problem is the device or connection hardware. :contentReference[oaicite:33]{index=33}

If the Emulator Works but the Physical Device Does Not

If Android Studio communicates with the Android Emulator normally but no physical device is detected, the host-side Android Studio and ADB installation are more likely to be working.

Focus on:

  • USB debugging
  • RSA authorization
  • The USB cable
  • The USB port
  • Windows ADB drivers
  • Manufacturer-specific device settings

Google’s current Connection Assistant troubleshooting flow also uses successful Emulator connectivity as a way to isolate physical USB connection problems. :contentReference[oaicite:34]{index=34}

If Neither Physical Devices nor the Emulator Are Detected

If ADB cannot communicate with physical devices or Emulators, investigate the host-side ADB environment:

adb version adb kill-server adb start-server adb devices

Update Platform Tools and check whether Android Studio and the terminal are using the same ADB installation.

Fastest Troubleshooting Order

If you do not know where the problem is, try this sequence:

  1. Unlock the Android device.
  2. Enable Developer options and USB debugging.
  3. Reconnect the USB cable.
  4. Check for the RSA authorization prompt.
  5. Run adb devices.
  6. Restart the ADB server.
  7. Try another USB data cable.
  8. Try another USB port.
  9. On Windows, check the ADB driver.
  10. Update Platform Tools.
  11. Restart Android Studio.

Security Considerations

USB debugging gives an authorized development computer significant access to the Android device through ADB.

Do not approve USB debugging from unknown or public computers.

You can revoke previously trusted debugging computers from Developer options.

Important: Do not download unknown USB drivers or standalone ADB executables from untrusted websites. Use Android SDK Platform Tools and official manufacturer drivers.

If the Problem Still Occurs

If Android Studio still does not detect the physical device, verify all of the following:

  • Developer options are enabled.
  • USB debugging is enabled.
  • The RSA debugging prompt has been approved.
  • You checked the state with adb devices.
  • You revoked and recreated USB debugging authorization.
  • You restarted the ADB server.
  • You tried Android Studio’s Connection Assistant.
  • You tested another data-capable USB cable.
  • You tried another USB port.
  • The Windows ADB driver is correct.
  • Platform Tools are current.
  • Multiple ADB installations are not conflicting.
  • You restarted the device, Android Studio, and computer.
  • On Linux, you checked plugdev membership and udev rules.

Summary

When Android Studio does not detect a physical device, the problem is usually related to USB debugging, ADB authorization, the USB connection, drivers, or the ADB server.

Start by running:

adb devices

A healthy device should appear as:

ABC123456789 device

A practical troubleshooting order is:

  1. Enable Developer options and USB debugging.
  2. Approve RSA debugging authorization.
  3. Check the state with adb devices.
  4. Restart the ADB server.
  5. Try another USB cable and port.
  6. On Windows, check the ADB driver.
  7. Update Android SDK Platform Tools.
  8. Use Android Studio’s Connection Assistant.
  9. Restart the device or computer if necessary.

Google’s current Android Studio documentation recommends enabling USB debugging, checking the device with adb devices, using the Connection Assistant, testing another USB cable, restarting ADB, and installing the appropriate Windows USB driver when required. :contentReference[oaicite:35]{index=35}

If the phone charges but never appears in Android Studio, the most useful first checks are a data-capable USB cable, USB debugging, and the Windows ADB driver.