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

Emulator Problems

Hello world does not appear in my emulator...all i have is my home screen. This is the error I got

pkg: /data/local/tmp/tristangaebler.funfacts Failure [INSTALL_FAILED_OLDER_SDK]

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

This can happen when you're trying to run the very latest version of Android and the emulator. Did you install from the links in the course or from the Android developer site? Let us know that first and we'll go from there. You may need to update details in your projects build.gradle file, or you may need to use the SDK Manager in Android Studio to download a different version of the Android SDK.

I installed Android Studio from the developer site. I have know I idea how to fix this.

What should I do?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

The easiest way is to use the links we provide in the Teacher's Notes. The bundle I made includes the necessary components to run the emulator.

If you want to do it yourself, you just need to download a few things using the SDK Manager button at the top of Android Studio.

Imgur

In the SDK Manager, select Android 4.4.2 and the ARM emulator, like this:

Imgur

Click Install Packages in the lower right, and once it's done, you should be able to create a new emulator using the 4.4.2.

I already have those installed, but I installed more than just those two things. Could this be my problem?

Should I just install everything from the teachers notes?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

That's my recommendation. I set it up that way to help you avoid this kind of pain. :) But...

It's actually a good learning experience to work through it, though, as frustrating as it might be. It sounds like you may have created the emulator with the wrong version of Android. Walk through the emulator creation part of this video at the 1:30 mark and see if you can successfully create a new one with the same values I use in the video.

I got it to work! The only thing is that a lock screen appears and then when I unlock it it says "hello world". Hope that's okay. Thanks so much for the help!!!!!

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Awesome! Onwards and upwards!

MICHAEL JONATHAN
MICHAEL JONATHAN
437 Points

Hello My Emulator is not displaying anything,its just blank and black.