Monday, January 5, 2015

How To Solve A Failure [INSTALL_FAILED_OLDER_SDK] When Using Android Studio

There are some times when even though you KNOW what to do, you forget some small detail that causes you to waste time. When building Android projects, you know to add the minimum supported version to your manifest file. Well when using Android Studio to create Android projects, Gradle ignores your manifest file. This can make for a little bit of head-scratching as you are trying to figure out why your newly created project isn't running as you expected.

If you get the following error:


Look build.gradle file for your app and change the following :

defaultConfig {
        applicationId "com.example.test.myapplication1"
        minSdkVersion 15
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"

Notice the highlight. You are going to change minSdkVersion to a version that matches your target test device. Issue solved!



fanny said...

There are two things to aim at in life: first, to get what you want; and ,after that, to enjoy it , only the wisest of mankind achieve the second.
I find a interest game, join us now!:
Cheap FIFA 16 Coins

Anonymous said...

I had a problem with A Brother HL-2250DN - toner light stuck on after new cartridge. I followed your reset instructions for the 2240 model and hey!!! it worked - thanks soooo much for your useful blog :)))))

Zheng junxai5 said...

toms wedges
coach outlet store online
louis vuitton purses
retro 11
ralph lauren
gucci outlet
north face jackets
louis vuitton bags
cheap air jordans
nike roshe run mens
adidas stan smith
kate spade handbags
christian louboutin sale
true religion jeans
true religion jeans
michael kors outlet
hermes bags
louis vuitton
adidas factory outlet
toms wedges
michael kors handbags
cheap oakleys
air jordan shoes
louis vuitton outlet
coach outlet
jordan 3 retro
concords 11
coach outlet online
coach outlet
ray ban outlet
michael kors purses
coach outlet store online clearances
cheap ray ban sunglasses
copy watches
louis vuitton handbags
coach factory outlet
jordan retro 13
michael kors outlet

dong dong23 said...

coach outlet
mbt outlet store
ugg outlet
ray ban sunglasses outlet
canada goose sale
nfl jerseys
ugg australia
boston celtics jerseys
abercrombie kids