Android : Android Studio 0.8.0 error "Failure [INSTALL_FAILED_OLDER_SDK]" when trying to load app on phone

on Wednesday, July 9, 2014


I am in the process of building and debugging an app on my phone and I keep getting the error "Failure [INSTALL_FAILED_OLDER_SDK]" when I try to push a test build to my phone. It by default set the target SDK to L but I set the minimum SDK level to 9 to cover the most devices. The device I'm trying to load the app on is a Galaxy S3 running 4.4.4 (which I know is API 19).


Here is the defaultConfig from my build.gradle



defaultConfig {
applicationId "com.tg94.intcalc"
minSdkVersion 9
targetSdkVersion "L"
versionCode 1
versionName "1.0"
{


When I go and look at my AndroidManifest.xml though, this is what it shows



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


When I try to edit this (I tried editing in Visual Studio 2013, Notepad++ and just plan Windows Notepad), I noticed the android:minSdkVersion always changes back to L even though I changed it and saved it to API level 9. Is there any suggestions I should try to fix this?


0 comments:

Post a Comment