Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: "Waiting for device." Trying to run app on phone

I'm attempting to transition from Eclipse to Android Studio today. I generated the Gradle build files in Eclipse and imported into Android Studio. I changed my preferences to run the app from a USB device instead of the emulator. Now when I run my app with my phone plugged in, all I get is a message that says "Waiting for device."

Has anyone else tried out Android Studio and got an app running on their phone? I'd appreciate any advice. I've been trying for quite a while now.

like image 320
Ben Kane Avatar asked Jun 10 '13 16:06

Ben Kane


People also ask

Why is my phone not connecting to Android Studio?

If your device is not correctly detected in RAD Studio or in the system Device Manager, check the following: Ensure that your Android device is unlocked and not sleeping while connected via USB. Set the appropriate option in Settings or Developer Options. Make sure your Android device is enabled for USB debugging.

Why Android Studio is not running the app?

Unplug your device from the USB port on the computer. Restart the device by powering off and back on. Verify that Settings => Developer options => USB Debugging is enabled. Quit and re-launch Android Studio.

How can I run Android Studio project on my phone?

Run the app on your device as follows: In Android Studio, select your app from the run/debug configurations drop-down menu in the toolbar. In the toolbar, select the device that you want to run your app on from the target device drop-down menu.


1 Answers

I get this from time to time and a simple unplug/replug of the device does the trick.

like image 187
shyamal Avatar answered Oct 01 '22 21:10

shyamal