[英]Failure [INSTALL_FAILED_OLDER_SDK] in Android Studio?
I import a project in my Android Studio and get me bellow error : 我在Android Studio中导入了一个项目,但出现以下错误:
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: 而贝娄是我的
build.gradle
,我将minSdkVersion 21
更改为minSdkVersion 8
但仍然出现错误:
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 我认为您在清单中将
minSdkVersion
21更改为minSdkVersion
8
Change it in your Gradle 在您的Gradle中更改
defaultConfig {
applicationId "mindmine.com.welcometol"
minSdkVersion *<Put yoru min SDK here>*
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.