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:
android:debuggable="true"
.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.
Run your app on the Android device with a cable You can choose whichever you like more. To run your app from Android Studio on your Android device: Connect your Android device to your computer with a USB cable. A dialog should appear on your device, which asks you to allow USB debugging.
In the Android Studio toolbar, select your app from the run configurations drop-down menu. From the target device drop-down menu, select the device that you want to run your app on. Select Run ▷. This will launch the app on your connected device.
The emulator is compatible with Android SDK and Android Studio.
I have solved the problem! I didn't enable USB debugging in the settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With