Android Studio:minSdkVersion 22错误

时间:2018-08-13 17:57:35

标签: android-studio

我是android studio的一个完整的初学者,我在将minSdkVersion设置为22时遇到了麻烦。该问题是由于库依赖性引起的,因为它要求minSdkVersion至少为23。我在网上抬头,似乎没有找到将minSdkVersion设置为22的解决方案。 鳕鱼在下面给出

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "enterprise.supti.myapplication"
        minSdkVersion 22
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation 'com.google.android.support:wearable:2.3.0'
    implementation 'com.google.android.gms:play-services-wearable:15.0.1'
    implementation 'com.android.support:percent:28.0.0-rc01'
    implementation 'com.android.support:support-v4:28.0.0-rc01'
    implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
    implementation 'com.android.support:wear:28.0.0-rc01'
    compileOnly 'com.google.android.wearable:wearable:2.3.0'
    implementation 'com.android.support:support-annotations:28.0.0-rc01'
}

0 个答案:

没有答案