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:

Failure [INSTALL_FAILED_OLDER_SDK]

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!

Smooches!
Kila

4 comments:

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!: http://www.Fastfifa16.co.uk/
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...

zhengjx20160726
toms wedges
coach outlet store online
louis vuitton purses
retro 11
ralph lauren
gucci outlet
north face jackets
louis vuitton bags
cheap air jordans
timberlands
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
timberlands
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
fitflops
ugg outlet
ray ban sunglasses outlet
canada goose sale
nfl jerseys
ugg australia
boston celtics jerseys
abercrombie kids
2016.12.26chenlixiang