Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/211.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 冲突属性_Android_Android Studio_Android Gradle Plugin_Android Holo Everywhere - Fatal编程技术网

Android 冲突属性

Android 冲突属性,android,android-studio,android-gradle-plugin,android-holo-everywhere,Android,Android Studio,Android Gradle Plugin,Android Holo Everywhere,我添加了HoloEverywhere的maven存储库,并添加了对库的依赖 allprojects { repositories { mavenCentral() maven { url "http://192.241.191.41/repo" } } } 只需将修补程序设置为库 dependencies { compile 'com.android.support:appcompat-v7:+' compile 'org.hol

我添加了HoloEverywhere的maven存储库,并添加了对库的依赖

allprojects {
    repositories {
        mavenCentral()
        maven { url "http://192.241.191.41/repo" }
    }
}
只需将修补程序设置为库

dependencies {
    compile 'com.android.support:appcompat-v7:+'
    compile 'org.holoeverywhere:library:+@aar'
    compile fileTree(dir: 'libs', include: ['*.jar'])
}
当我尝试运行应用程序时,会出现错误

/home/onea/projects/java/android/TestApp/app/build/exploded-aar/com.android.support/appcompat-v7/19.0.1/res/values/values.xml
Error:Attribute "spinnerMode" has already been defined
Error:Attribute "popupPromptView" has already been defined
Error:Attribute "disableChildrenWhenDisabled" has already been defined

我做错了什么?:)

我替换了依赖项中的行

compile 'org.holoeverywhere:library:+@aar' 

becose编译器显示holoeverywhere活动中的错误并删除

compile 'com.android.support:appcompat-v7:+'
compile 'com.android.support:appcompat-v7:+'