Search code examples
androidadb

adb "waiting for device" after installing usb drivers


I am new to Android development and I am trying to get a test app onto my phone. My phone is an LG G3, and I am developing on Windows 8. Following the official tutorial,I have installed the android sdk, and can run ant debug. However, when I run adb install bin/MyFirstApp-debug.apk it just says

error: device not found
error: device not found
error: device not found
- waiting for device -

I went to the OEM USB Drivers page, got the usb driver for my model, installed it through the installer provided by LG, and restarted my computer. Still getting the message.

When I try to update the drivers through the Windows 8 Device Manager, it says the drivers are up to date. I have also tried different combinations of turning both developer mode and usb debuggin on and off.

I have also tried setting up my Macbook as a development environment, but I still get the same error at this step, despite the documentation saying "If you're developing on Mac OS X, it just works. Skip this step." in reference to installing USB drivers.


Solution

  • Found the answer in the second response here. Needed to specifically set the USB connection to Internet