gpt4 book ai didi

android - 资源链接失败,错误 : resource android:attr/dialogCornerRadius not found

转载 作者:行者123 更新时间:2023-11-30 05:00:36 25 4
gpt4 key购买 nike

当我集成 Stripe 库时,它会创建链接资源 SDK版本问题。当我升级我的 SDK 版本时 从 v7:27.1.1 到 v7:28.0.0 并将我的编译 SDK 版本更改为 28 问题已解决,然后它会导致 Manifest 文件中出现问题。
SDK版本加了这个库,没有解决问题。

build.gradle 文件:

configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.1'
}}

android {
compileSdkVersion 27
defaultConfig {
applicationId "com.goldtech.linkbreed"
minSdkVersion 19
targetSdkVersion 27
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:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'de.hdodenhof:circleimageview:3.0.0'

// for slider images
implementation 'com.github.smarteist:autoimageslider:1.3.2-appcompat'
implementation 'com.stripe:stripe-android:11.2.0' // stripe payment

implementation 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'

implementation 'com.github.shts:StoriesProgressView:3.0.0' // for stories
implementation 'com.allattentionhere:autoplayvideos:0.2.0' // for video in recyclerview

// indicator //
implementation 'com.wang.avi:library:2.1.3'

implementation 'com.github.bumptech.glide:glide:3.8.0'

implementation 'com.android.volley:volley:1.1.1'

////////////// exoplayer //////////////////////

implementation 'com.google.android.exoplayer:exoplayer:r2.4.0'
implementation 'com.google.android.exoplayer:exoplayer-core:r2.4.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:r2.4.0'
implementation 'com.google.android.exoplayer:exoplayer-hls:r2.4.0'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:r2.4.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:r2.4.0'


implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:27.1.1'
//implementation 'com.google.firebase:firebase-crash:11.8.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'
}

apply plugin: 'com.google.gms.google-services'

最佳答案

此错误是由于compileSdkVersion 和库版本不匹配导致的。将 compileSdkVersion 更改为 28

android {
compileSdkVersion 28
...
}

关于android - 资源链接失败,错误 : resource android:attr/dialogCornerRadius not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58327440/

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