我正在尝试构建项目,但遇到此错误,我不知道如何解决
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
api 'com.android.support:appcompat-v7:23.2.0'
implementation 'com.android.support:design:23.2.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
implementation "com.google.android.gms:play-services-gcm:9.0.0"
implementation 'com.google.firebase:firebase-core:17.0.0'
}
Android资源编译失败:
C:\ Users \ Google Inc \ Desktop \ education \ Education \ app \ build \ intermediates \ incremental \ mergeReleaseResources \ merged.dir \ values \ values.xml:1952:错误:资源'attr / layout_anchorGravity'的重复值使用配置''。 C:\ Users \ Google Inc \ Desktop \ education \ Education \ app \ build \ intermediates \ incremental \ mergeReleaseResources \ merged.dir \ values \ values.xml:1952:错误:先前在此处定义的资源。 C:\ Users \ Google Inc \ Desktop \ education \ Education \ app \ build \ intermediates \ incremental \ mergeReleaseResources \ merged.dir \ values \ values.xml:错误:文件无法编译。