[英]Failed to compile values file' when i try to run my app
I am building a note taking app and suddenly i'm getting this error when i try to run the app.我正在构建一个笔记应用程序,当我尝试运行该应用程序时突然出现此错误。
Error:错误:
Dependencies using groupId 'com.android.support' and 'androidx.*' can not be combined but found 'com.android.support:appcompat-v7:22.0.0' and 'androidx.constraintlayout:constraintlayout:2.0.4' incompatible dependencies使用 groupId 'com.android.support' 和 'androidx.*' 的依赖项无法合并,但发现 'com.android.support:appcompat-v7:22.0.0' 和 'androidx.constraintlayout:constraintlayout:20'不兼容。依赖关系
This is my build.graddle这是我的 build.graddle
plugins {
id 'com.android.application'
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.bundgaard.rememory"
minSdkVersion 26
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-auth:21.0.1'
implementation 'com.google.firebase:firebase-storage:20.0.0'
implementation 'com.google.firebase:firebase-firestore:23.0.1'
implementation 'org.jetbrains:annotations:21.0.1'
implementation 'co.roverlabs:picasso:2.5.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation platform('com.google.firebase:firebase-bom:28.0.1')
}
I can't figure out where theese two groupId's clash...我不知道这两个 groupId 的冲突在哪里......
co.roverlabs:picasso:2.5.2
is a very out-of-date fork of Square's Picasso . co.roverlabs:picasso:2.5.2
是Square 的 Picasso的一个非常过时的分支。 It has dependencies on similarly out-of-date support libraries from Google.它依赖于来自 Google 的类似过时的支持库。 Switching to an official Picasso release may help, particularly if it is one that is up to date.
切换到毕加索的官方版本可能会有所帮助,特别是如果它是最新的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.