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) Getting Started with Android Running the Fun Facts Project

when I ejecute the emulator I have black page, nothing appears.

cant make the emulator run

well...android appears flashing but nothing else happens, and is ubber slow, how much in ram must I put in emulator?

6 Answers

Jeff Janes
Jeff Janes
8,033 Points

I would suggest 2GB, but even 1GB should be enough. How much are you currently running it with?

I added 5 gigs..but thats not enough because its ubber slow..I need to speed it up, I tried to execute it in my xperia l but it dont detect it with usb, so what do I do?

Jeff Janes
Jeff Janes
8,033 Points

Oh wow, 5GB should be way more than enough. Do you have ADB set up to detect the phone?

To be honest I suggest you reduce the RAM to 512 MB, 5GB is way too much in my opinion. I am not sure if you get this notice but android studio says..."On Windows, emulating RAM greater than 768M may fail depending on the system load. Try progressively smaller values of RAM if the emulator fails to launch."

Matthew Ong
Matthew Ong
6,041 Points

My emulator did not work with 1536M so I tried it with 768 and it started up fine.

Antoine DuBois
Antoine DuBois
3,130 Points

when creating the emulator be sure to check use host GPU. I had the same problem and this fixed it.