首页 > 解决方案 > 如何使用配置解决资源'attr/max_value'的重复值我已经尝试过stackover答案但它不起作用

问题描述

app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3648:错误:资源“attr/max_value”与配置“”的重复值。

app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3648:错误:资源先前在这里定义。

/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml 当我更改 max_value 它会自动再次更改以前的名称并给我同样的错误

分级文件

implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
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'

implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'

implementation 'com.orhanobut:hawk:2.0.1'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.android.gms:play-services:12.0.1'
implementation 'com.sothree.slidinguppanel:library:3.0.0'
implementation 'com.github.PhilJay:MPAndroidChart:v2.0.9'

implementation 'com.shawnlin:number-picker:2.4.8'
implementation 'com.mikhaellopez:circularimageview:3.2.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.kevalpatel2106:ruler-picker:1.0'

implementation 'com.alex-zaitsev:meternumberpicker:1.0.4'
implementation 'net.soulwolf.widget:materialRadio:1.0.1'
implementation 'com.github.shinelw.colorarcprogressbar:library:1.0.3'

标签: androidgradleandroid-gradle-pluginduplicates

解决方案


推荐阅读