gpt4 book ai didi

android - 错误 : Program type already present: android. support.v4.app

转载 作者:搜寻专家 更新时间:2023-11-01 07:42:22 24 4
gpt4 key购买 nike

我正在 Android Studio 中开发一个应用程序,过去 10 分钟我运行它并且它可以工作,但现在我明白了。我在

处遇到错误

implementation 'com.android.support:appcompact-v7:28.0.0'

你能告诉我我应该修改什么吗?

 apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.quizonwheels.quizonwheels"
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 fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.volley:volley:1.1.0'
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'
implementation 'com.github.ViksaaSkool:AwesomeSplash:v1.0.0'

}

最佳答案

AwesomeSplash 库正在使用支持库的 v23。

将实现更改为:

implementation ('com.github.ViksaaSkool:AwesomeSplash:v1.0.0') {
exclude group: "com.android.support"
}

关于android - 错误 : Program type already present: android. support.v4.app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53490705/

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