I import a project in my Android Studio and get me bellow error :
pkg: /data/local/tmp/mindmine.com.welcometol
Failure [INSTALL_FAILED_OLDER_SDK]
And Bellow is my build.gradle
, I change minSdkVersion 21
to minSdkVersion 8
but get me error yet:
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "mindmine.com.welcometol"
minSdkVersion 21
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:recyclerview-v7:21.0.3'
compile 'com.android.support:cardview-v7:21.0.3'
}
I think you change minSdkVersion
21 to minSdkVersion
8 in Manifest
Change it in your Gradle
defaultConfig {
applicationId "mindmine.com.welcometol"
minSdkVersion *<Put yoru min SDK here>*
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.