Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

Tim Arwine
Tim Arwine
5,406 Points

Android emulator not working; phone cannot be connected either. Help!

I've been through every tutorial (on Treehouse, Android developer & Stackoverflow) I can find. Nothing works. I always get the emulator to come up, but then it is black. Displays nothing. So I decide to set up my android phone instead. But when I try to find it in my device manager to download drivers, it is not there either. (I've already enabled debugging...) I am starting to get discouraged. I am flying blind cause I can't see what I'm developing. Help Please!

2 Answers

Durim Kryeziu
Durim Kryeziu
14,002 Points

Hi Tim Arwine , I understand you the emulator is to heavy. Please use the lastes Android Studio ( 2.1 ) because the emulator is much faster.

What device do you have maybe you have problem with the USB cable or drivers or the usb connector in your pc , Do you see the phone in "my computer".

Tim Arwine
Tim Arwine
5,406 Points

Durim,

Thank you. OK. To answer your questions: Phone: Oppo. I've enabled debugging. When that didn't work I also enabled mock locations & verify apps via USB. The cable works for charging, so I think it's good. In my pc (Dell Latitude). The tutorials all say to look in the Device manager and find "other devices". When I do that, there is no such option. So I can't move to the next step in the tutorial. As for the drivers, I've been to the (Dell) site to download them, drivers, but am unsure which ones or how to find out exactly which ones? I must be missing something. From this explanation, do you have any ideas? Thank you.

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,624 Points

Depending on which version of Android Studio you are using, the emulator can be verrrrrrrry slow to load (making it look like you only have a black screen). I can't help you with the actual phone not being recognized, as I am an Apple man and am not familiar with Android phone connectivity.

Aside from waiting 5 - 10 minutes to see in your emulator does load, I offer two other suggestions:

  1. You could try the popular and alternative emulator Genymotion... many developers prefer it actually.

  2. Have a look at Treehouse's Workshop on Emulators and see if it can also offer you some suggestions.

Hope it all get worked out for you. :)

:dizzy:

Tim Arwine
Tim Arwine
5,406 Points

Jason,

Thank you for answering. I HAVE heard of Genymotion. Does it work with small RAM size? (I have the 2 GB min. to run Android Studio.) Will trying to run this in addition overload things? As for the Apple/PC divide, no worries. I understand. But do you know one of the other moderators who could help - please. Due to my small RAM size, if I could get the phone option working I think it would lesson the strain. I also have one other computer with 4GB RAM, but it has AMD processors. Thank you. Tim