Quick fix: "No target device found" means Android Studio cannot see any running emulator or connected phone. Most of the time the fix is one of two things: start an emulator from Device Manager and select it in the device menu, or turn on USB debugging on your phone and accept the "Allow USB debugging?" prompt. If the phone still does not appear, use Tools > Troubleshoot Device Connections and restart ADB.
"Error running 'app': No target device found" is the top Google suggestion when people type "android studio error", ahead of "module not specified" and "error running app". It hits almost every beginner on their first run, and it still catches experienced developers after an Android Studio update, a new phone or a new cable. This guide explains why the Android Studio no target device found error happens and walks through the fixes in order, from the 10-second ones to drivers and wireless debugging. Every step is based on Google's official Android Studio and adb documentation.
Why Android Studio says "No target device found"
When you press Run, Android Studio builds your APK and then asks the Android Debug Bridge (adb) for a device to install it on. If adb reports nothing, or the only device it sees is not usable, Android Studio stops with this error. The usual causes are:
- No device is running. No emulator is launched and no phone is plugged in, or the device menu is empty.
- USB debugging is off on the phone, so it connects as a charger or file drive but not for debugging.
- The computer is not authorized. The RSA key prompt on the phone was missed or dismissed.
- Cable, port or driver problems. Charge-only cables, flaky hubs and missing Windows drivers are common.
- A stuck adb server after sleep, an update or another tool grabbing the connection.
Run adb devices -l in a terminal to see what adb sees. Google's docs explain the states: device means connected, offline means "not connected to adb or is not responding", and an empty list means no device at all. An unauthorized entry usually means the debugging prompt on the phone has not been accepted yet.
How to fix "No target device found" in Android Studio
Work through these in order and try Run again after each one.
- Start or select a device. The error often just means nothing is running. Open View > Tool Windows > Device Manager, click Launch next to an emulator, then choose it in the target device menu beside the green Run button. No emulator yet? Click Create Device, pick a hardware profile and a system image, and click Finish. New virtual devices appear in that same device menu.
- Turn on USB debugging on your phone. Open Settings > About phone and tap Build number seven times until you see that you are a developer (on some brands it sits under Software information). Then open Developer options and switch on USB debugging.
- Accept the “Allow USB debugging?” prompt. On Android 4.2.2 and newer, the phone asks you to accept an RSA key for your computer the first time you connect. Unlock the screen and accept it, ticking “Always allow from this computer” if you like. If you dismissed it, open Developer options, tap Revoke USB debugging authorizations, unplug and plug in again so it reappears.
- Check the cable, port and USB mode. Google's own troubleshooting starts here: swap the cable, try another USB port (directly on the computer, not a hub) and, if you can, test a second phone. Many charging-only cables carry no data. Some users also report that switching the phone's USB notification from “Charging only” to “File transfer” makes the device show up.
- Restart ADB. In Android Studio choose Tools > Troubleshoot Device Connections. The Connection Assistant has Rescan USB devices and Restart ADB server buttons. From a terminal, run
adb kill-serverand thenadb devices -l; any adb command starts the server again. - Install the USB driver (Windows) or udev rules (Linux). macOS needs no driver. On Windows, install your phone maker's OEM USB driver, or the Google USB Driver for Pixel and Nexus phones, through Device Manager > your phone > Update driver > Browse my computer. On Ubuntu Linux, run
sudo usermod -aG plugdev $LOGNAME, log out and back in, and install udev rules withsudo apt-get install android-sdk-platform-tools-common. - Use wireless debugging instead. On Android 11 or newer, connect the phone and computer to the same Wi-Fi network, turn on Wireless debugging in Developer options, then choose Pair Devices Using Wi-Fi from the run configurations menu in Android Studio and scan the QR code or enter the six-digit pairing code. This skips cables and drivers entirely.
Related errors you may see next
"Module not specified" means the run configuration does not know which module to launch. Open Run > Edit Configurations, choose your Android App configuration and set the module (usually app), or sync the project with Gradle files first. "adb: more than one device/emulator" appears in a terminal when several devices are connected; pick one with adb -s <serial>, or use -d for the USB device and -e for the emulator. If Gradle sync itself is failing, sort that out first: Android Studio cannot run an app it cannot build. Flutter developers seeing "Gradle task assembleDebug failed with exit code 1" can follow our Gradle assembleDebug fix guide.
If nothing works
Confirm the emulator works first. If an emulator runs fine but your phone never appears, the problem is the cable, port, driver or phone settings rather than your project. Check Google's Android Studio known issues page in case a recent release broke device detection, and update the SDK Platform Tools from the SDK Manager. As a last step, Google's docs suggest contacting your device manufacturer, because some phones need a specific driver or setting. When you ask for help on Stack Overflow or the issue tracker, include your Android Studio version, OS, phone model and the output of adb devices -l.
New to Android? Our free Android with Kotlin track starts from setting up a project, and the notes app tutorial is a good first app to run once your device shows up.
Frequently asked questions
What does No target device found mean in Android Studio?
It means Android Studio could not find a running emulator or a connected phone with USB debugging enabled when you pressed Run, so it had nowhere to install the app.
Why is my phone not showing in Android Studio?
The usual reasons are that USB debugging is off, the Allow USB debugging prompt was not accepted, the cable only charges, or Windows is missing the USB driver. Restarting adb from Tools > Troubleshoot Device Connections also helps.
How do I enable USB debugging?
Open Settings > About phone, tap Build number seven times to unlock Developer options, then open Developer options and switch on USB debugging.
What does unauthorized mean in adb devices?
It usually means the phone has not accepted the RSA key prompt for your computer. Unlock the phone and accept it, or revoke USB debugging authorizations and reconnect.
Can I run my app without a USB cable?
Yes. On Android 11 and newer you can use wireless debugging: turn it on in Developer options and pair from Android Studio with Pair Devices Using Wi-Fi.
Sources and further reading
- Android Developers: Run apps on a hardware device
- Android Developers: Create and manage virtual devices
- Android Developers: Android Debug Bridge (adb)
- Android Developers: Configure on-device developer options
- Android Developers: Install OEM USB drivers
- Android Developers: Known issues with Android Studio
Last checked November 21, 2026 against Google's Android Studio and adb documentation. Menu names can differ slightly between Android Studio versions and phone brands.