Site icon Ampersand Tutorials

Run Your App on a Real Android Phone: USB Debugging (2026)

Quick answer: To run your app on a real phone instead of the emulator: enable Developer Options (Settings → About phone → tap Build Number 7 times), turn on USB Debugging inside the new Developer Options menu, connect the phone with a cable, accept the debugging prompt on the phone, and pick your device in Android Studio’s Run dropdown. Real-device testing is faster than the emulator and shows true performance. This guide covers the steps plus the two connection problems everyone hits.

The five steps

StepOn the phoneNotes
1. Unlock developer modeSettings → About phone → tap Build Number ×7Toast: “You are now a developer!” (Samsung: About phone → Software information)
2. Enable USB debuggingSettings → System → Developer options → USB debugging ONThe menu appears above About after step 1
3. ConnectCable to PC; set USB mode to “File transfer” if neededSome cables are charge-only — if nothing happens, try another cable
4. Trust the computerAccept “Allow USB debugging?” prompt (check Always allow)Prompt appears when Android Studio first connects
5. Run—In Android Studio: your phone appears in the device dropdown → Run ▶

When the phone does not appear in Android Studio

Why bother: emulator snapshots hide real-world truth — scroll performance, camera behavior, network blips. Testing on the actual hardware you own catches those on day one. First app not installed yet? Start with our first Android app guide.

For one-to-one Android training with real device workflows, Ampersand Academy teaches Android development with live code review.

Frequently asked questions

How do I enable USB debugging on Android?

Go to Settings, About phone, and tap Build Number seven times to unlock Developer Options. Then open System, Developer options, and enable USB debugging.

Why is my phone not showing in Android Studio?

Usually the cable (charge-only), a missing manufacturer USB driver on Windows, or an unanswered Allow USB debugging prompt on the phone. Test with another cable first, then install the brand driver.

Is USB debugging safe to leave on?

It is fine during development on your own computer. Turn it off for daily use – especially on public chargers – because a debugging-authorized phone exposes data to trusted computers.

Can I run Android Studio apps over Wi-Fi?

Yes on Android 11 and newer: enable Wireless debugging in Developer options, then use Pair Devices Using Wi-Fi in Android Studio’s device manager with the pairing code from your phone.

Does a real device run apps faster than the emulator?

Usually yes on mid-range and newer phones, and it shows honest performance, sensors, camera and network behavior. The emulator is still handy for testing different screen sizes and Android versions.

Exit mobile version