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

During build a simple app video, while trying to run the emulator I got this error, Failure [INSTALL_FAILED_OLDER_SKD].

Failure [INSTALL_FAILED_OLDER_SDK], I got this error while trying to run the emulator on the build a simple android app course.please help

1 Answer

Daniel Hartin
Daniel Hartin
18,106 Points

It sounds as if the min SDK version declared in your android manifest has a higher value than the emulator you are using. Try creating a new emulator but use a higher SDK (API Number).

You can find the min SDK value in your android manifest in the line that looks similar to the one below

<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="15"/>

This is the min SDK number and the emulator SDK number must be higher (or equal to) in order to run correctly.

Please note the numbers may be different in your XML file. It depends on what you selected when you created your app.

Hope this helps

Daniel

Thanks Daniel, got it to work