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 trialTristan Gaebler
6,204 PointsEmulator 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
Treehouse TeacherThis 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.
MICHAEL JONATHAN
437 PointsHello My Emulator is not displaying anything,its just blank and black.
Tristan Gaebler
6,204 PointsTristan Gaebler
6,204 PointsI installed Android Studio from the developer site. I have know I idea how to fix this.
Tristan Gaebler
6,204 PointsTristan Gaebler
6,204 PointsWhat should I do?
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherThe 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.
In the SDK Manager, select Android 4.4.2 and the ARM emulator, like this:
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.
Tristan Gaebler
6,204 PointsTristan Gaebler
6,204 PointsI already have those installed, but I installed more than just those two things. Could this be my problem?
Tristan Gaebler
6,204 PointsTristan Gaebler
6,204 PointsShould I just install everything from the teachers notes?
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherThat'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.
Tristan Gaebler
6,204 PointsTristan Gaebler
6,204 PointsI 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
Treehouse TeacherBen Jakuben
Treehouse TeacherAwesome! Onwards and upwards!