Android属性“xxxx”已经定义

时间:2015-10-23 18:16:36

标签: android

我不知道是否有人知道这个库或使用过它(https://github.com/johnkil/Print),但主要的想法是从不同的icons制作fonts

我需要它,因为我需要实现一个使用它的库(https://github.com/bmelnychuk/AndroidTreeView)。

我收到所有类型的错误:Error:(2) Attribute "iconSize" has already been defined与已导入的其他libraries的其他文件相匹配。

有谁知道如何解决这个问题?有没有办法让编译器忽略它?

我的build.gradle文件:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "xxxxxxxxxxxxxxxxxx"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.1.0'
    compile('org.restlet.jse:org.restlet.ext.httpclient:2.1.2') {
        exclude group: 'org.restlet', module: 'jse'
        exclude group: 'org.restlet.ext', module: 'ss1'
    }
    android {
        packagingOptions {
            exclude 'META-INF/DEPENDENCIES.txt'
            exclude 'META-INF/LICENSE.txt'
            exclude 'META-INF/NOTICE.txt'
            exclude 'META-INF/NOTICE'
            exclude 'META-INF/LICENSE'
            exclude 'META-INF/DEPENDENCIES'
            exclude 'META-INF/notice.txt'
            exclude 'META-INF/license.txt'
            exclude 'META-INF/dependencies.txt'
            exclude 'META-INF/ASL2.0'
            exclude 'META-INF/services/org.restlet.engine.ClientHelper'
        }
    }
    compile 'net.koofr:java-koofr:1.2.8'
    compile 'org.apache.httpcomponents:httpclient:4.3.5'
    compile 'org.restlet.jse:org.restlet.ext.jackson:2.1.2'
    compile 'com.github.dmytrodanylyk.android-process-button:library:1.0.3'
    compile 'com.rengwuxian.materialedittext:library:1.8.3'
    compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
    compile 'com.google.android.gms:play-services:7.0.0'
    compile 'com.android.support:recyclerview-v7:23.0.+'
    compile 'com.baoyz.pullrefreshlayout:library:1.0.1'
    compile('com.mikepenz:materialdrawer:3.1.2@aar') {
        transitive = true
    }
    compile 'com.wnafee:vector-compat:1.0.5'
    compile 'me.drakeet.materialdialog:library:1.2.2'
    //    compile 'com.google.code.gson:gson:2.2.+'
    compile 'com.sothree.slidinguppanel:library:3.1.1'
    compile 'com.github.deano2390:MaterialShowcaseView:1.0.5@aar'
    compile 'com.android.support:multidex:1.0.0'
    compile 'com.github.bmelnychuk:atv:1.2.0'
    compile 'com.victor:lib:1.0.1'
}

0 个答案:

没有答案