plugins {
id 'com.android.application'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.kali_corporation.yogafitness"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
> [Blockquote][1]
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.google.android.gms:play-services-ads:19.6.0'
implementation 'com.github.prolificinteractive:material-calendarview:2.0.0'
implementation 'com.kaopiz:kprogresshud:1.2.0'
implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
}在模块核心-1.5.0-运行时(androidx.core:
:1.5.0)和support 27.0.2-运行时(com.android.Support:support:27.0.2)中找到的重复类
重复类android.support.v4.app.INotificationSideChannel$Stub发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.app.INotificationSideChannel$Stub$Proxy发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.IResultReceiver发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.IResultReceiver$Stub发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.IResultReceiver$Stub$Proxy发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.ResultReceiver发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.ResultReceiver$1发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.ResultReceiver$MyResultReceiver发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
重复类android.support.v4.os.ResultReceiver$MyRunnable发现在模块核心-1.5.0-运行时(androidx.core:核心:1.5.0)和支持-compat-27.0.2-运行时(com.android.support:support-compat:27.0.2)
转到文档,了解如何修复依赖项解析错误.。
发布于 2022-03-26 15:20:15
嗨,我也遇到过同样的问题(Fix依赖解析错误),对我起作用的解决方案是当我减少。
compileSdkVersion到26
buildToolsVersion至28.0.3
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.letsgo.wifitrigger"
minSdkVersion 15
targetSdkVersion 26
versionCode 12
versionName "1.2"
}https://stackoverflow.com/questions/68599570
复制相似问题