Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Testing and Debugging Running the App on a Device

Yossi Nagar
Yossi Nagar
1,871 Points

I cant connect my LG G3

I also tried to change the settings for USB Devices, but still show me: Waiting for device. USB device not found

2 Answers

Yossi Nagar
Yossi Nagar
1,871 Points

Thank u, I forgot to put my device in Developer Mode with USB Debugging enabled.... Now its work fine.

Chris Wolchesky
Chris Wolchesky
12,025 Points

I believe you have to have your device in Developer Mode with USB Debugging enabled before it will be detected by your PC. You also have to have ADB (The Android Device Bridge) running.

You can start USB Debugging on the phone by going to Settings > About Phone then tapping on the Build Number field seven times (Most devices will give a toast saying "Tap X many times to enable developer!". This unlocks the Developer Options menu on the main settings menu. In there you can Enable USB Debugging.

If you're using Android Studio, ADB should be running as long as Android Studio is. For Eclipse, you can start it manually by going to your Android SDK directory in command prompt. In the SDK folder, there is a sub-directory called "platform-tools". The ADB executable is in there. You should be able to start it with the command "adb start". Of course, this is assuming you haven't already added the platform-tools directory to your PATH environment variable.