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

Ting-Chieh Huang
Ting-Chieh Huang
3,387 Points

Android Studio cannot detect my LGG3. Help me

my phone is using Android version 4.4.2. Idun know why studio does not detect my phone automatically.

Did you make sure to install the adb drivers for your phone? Also make sure you have enabled debug mode on your device. If neither of those are the issue, maybe check here for further troubleshooting help.

Ben Junya
Ben Junya
12,365 Points

From what I understand, adb drivers are automatically included with Android Studio. I'm 99% sure

2 Answers

Ben Junya
Ben Junya
12,365 Points

Make sure you enable developer options on your phone and check 'Enable USB Debugging'

On your Phone... Go to your settings: Go to "about phone" Tap on "Build Number" 7 times. This enables developer options Go to Developer options (in the settings app) Check - Enable USB Debugging

When you connect your phone to your computer with Android studio running, you should see a dialog box asking for permission for your computer to debug your phone. Tap Yes and accept those permissions.

You should be set from there! Hit 'Run' in Android Studio and you should be good to go.

Hit me up on here if you have any further questions!

Ting-Chieh Huang
Ting-Chieh Huang
3,387 Points

Thank you for helping me. But when I go to Settings ==> About phone there are several buttons 1. phone name 2.Update center 3.Network 4.Status 5.Battery 6. Hardware info 7. Software info 8.Legal info and 9. Patent info. I didn't see "Build Number

Build number would probably be under software info.

Ben Junya
Ben Junya
12,365 Points

I can't say for sure if it's under software info, as every phone is different. You'll want to poke around in each one of those sub menus to find the build number.

After that, just follow the other instructions I wrote above and you should be ready to go.

Feel free to keep chatting with us here if you need more help! I started out on Treehouse about a year ago, and I was able to get a job in the industry after 6 months, so don't get discouraged!

I just had this issue, one thing you might want to make sure is that you have the LG Suite installed. I guess it might just be a security measure LG added, but as soon as the app was installed my phone let me choose what USB mode you are in and Android Studio was able to pick it up in the devices.

You can find the LG PC Suite at the LG site