小编nar*_*dra的帖子

错误:(155)此处定义的原始属性,在Android Studio 2.3.1中

依赖项{编译fileTree(dir:'libs',包括:['* .jar'])

compile 'com.android.support:design:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:preference-v7:25.3.1'
compile 'com.google.code.findbugs:jsr305:3.0.0'
compile 'com.squareup.okhttp3:okhttp:3.6.0'
compile 'com.google.android.gms:play-services:7.0.0'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.android.volley:volley:1.0.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'ch.acra:acra:4.9.2'
compile 'com.github.yukuku:ambilwarna:2.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'


testCompile 'junit:junit:4.12'
}
Run Code Online (Sandbox Code Playgroud)

这是gradle依赖项代码。我收到了这类错误。当我单击此错误时,代码将显示。找不到元素'recources'的内容。D:\ AndroidProjects \ Tech \ app \ build \ intermediates \ res \ merged \ debug \ values \ values.xml错误:(360)属性“ navigationMode”已使用不兼容的格式定义。

Error:(155) Original attribute defined here.

Error:(367) Attribute "displayOptions" already defined with incompatible format.

Error:(687) Attribute "backgroundTintMode" already defined with incompatible format.

Error:(367) Attribute "displayOptions" already defined with incompatible …
Run Code Online (Sandbox Code Playgroud)

android android-studio

5
推荐指数
1
解决办法
1858
查看次数

标签 统计

android ×1

android-studio ×1