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

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,858 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