Run Android apps on hardware device from Android Studio by USB

Rogier picture Rogier · Aug 4, 2013 · Viewed 56k times · Source

I am developing apps in Android Studio and I can run them in the virtual device succesfully. However running the apps on my own device (Samsung S3 GT-I9300) doesn't work.

Based on the documentation of Google (http://developer.android.com/tools/device.html) I have tried this:

  1. In the application tag of the AndroidManifest.xml I have added: android:debuggable="true".
  2. Installed the latest OEM driver from the Samsung Website

In the Android Studio I changed in the Edit Configurations the target device into USB device. But I constantly get this message:

Waiting for device.

USB device not found

I also have installed Kies software from Samsung and with this software I can connect my phone by USB. I have also tried adb devices in \sdk\platform-tools, but no devices are listed.

Answer

Rogier picture Rogier · Aug 4, 2013

I have solved the problem! I didn't enable USB debugging in the settings.