gpt4 book ai didi

android - 所有 com.android.support 库必须使用相同版本的 appcompat-v7 :28. 0.0

转载 作者:行者123 更新时间:2023-11-29 23:30:32 24 4
gpt4 key购买 nike

有很多这样的主题,但没有一个对我有帮助。我在主题和标记行中遇到错误:implementation 'com.android.support:appcompat-v7:28.0.0'
项目中的所有内容都是自动设置的,我还没有更改任何内容。我的 gradle 应用程序文件:

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.mprzenzakdev.wallex"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
apply plugin: 'com.google.gms.google-services'

最佳答案

问题不明确。您很可能需要单独添加每个依赖项,如下所示:

implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:animated-vector-drawable:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'

这是我拥有并使用依赖项的应用程序:example

关于android - 所有 com.android.support 库必须使用相同版本的 appcompat-v7 :28. 0.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52768475/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com