当 min sdk 为 21 时,应用程序现在运行良好,当我将其最小化为 19 时,所有可绘制文件出现错误重复资源(app:mergeDebugResources FAILED)这里是一些 gradle 文件
android {
defaultConfig {
targetSdkVersion 28
minSdkVersion 19
}
allprojects {
repositories {
google()
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.dagger:dagger:2.10'
annotationProcessor 'com.google.dagger:dagger-compiler:2.10'
implementation 'com.jakewharton.timber:timber:4.7.1'
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-rc01'
implementation 'com.intuit.sdp:sdp-android:1.0.6'
implementation 'com.intuit.ssp:ssp-android:1.0.6'
implementation 'com.google.android.exoplayer:exoplayer:2.11.4'
}
apply plugin: 'com.google.gms.google-services'