2

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.

Hat
  • 1,691
  • 6
  • 28
  • 44
  • Yup, question mentions I restarted my computer. Also just tried rebooting my phone. @admdrew – Hat Oct 07 '14 at 18:42
  • Ok. And `adb devices` doesn't return anything? – admdrew Oct 07 '14 at 18:43
  • Nope. It just says `List of devices attached`, but the list is empty. Not sure if it matters, but the phone is in MTP mode and I can copy onto the MicroSD card or internal storage. However, I still get the same error when I turn off MTP mode. @admdrew – Hat Oct 07 '14 at 18:46
  • have you turned on "USB debugging" on your phone? – Alex P. Oct 07 '14 at 19:36
  • Yup. Have tried with USB debugging both on and off. @AlexP. – Hat Oct 07 '14 at 19:39

2 Answers2

1

Does your device show up in Windows Explorer? If not, this works in Windows 7. Try:

Start -> Computer (right click) -> Manage ->Device Manager -> Android Device -> Android Composite ADB Interface (Right click) -> Update Device Driver -> Browse My Computer for Driver Software -> Let me pick from list of device drivers on my computer

Kristy Welsh
  • 7,828
  • 12
  • 64
  • 106
  • This is better suited as a comment to the question, especially given OP mentions he already checked out the driver in Device Manager. – admdrew Oct 07 '14 at 19:28
  • @admdrew - I've been able to solve problems with the device drivers that are not fixed by using Device Manager. When accessed this way (through Manage Computer), the device driver is fixed. – Kristy Welsh Oct 07 '14 at 20:39
  • This answer seems to suggest the same thing: http://stackoverflow.com/questions/6469646/adb-devices-cant-find-my-phone?rq=1 – Kristy Welsh Oct 07 '14 at 20:40
  • The Device Manager is identical, regardless if viewed as a snap-in to Computer Management, or via its own dialog (they're literally pulling from the same location). That link does not make any mention of accessing Device Manager from different methods. – admdrew Oct 07 '14 at 20:43
0

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

Community
  • 1
  • 1
Hat
  • 1,691
  • 6
  • 28
  • 44
  • 1
    Please don't just link to answers, summarize them. If that link dies, this answer becomes useless. – arkon Jan 27 '16 at 20:51