Android属性";xxxx“;已经定义了
我不知道是否有人知道或使用过这个库(),但主要的想法是使用不同的Android属性";xxxx“;已经定义了,android,Android,我不知道是否有人知道或使用过这个库(),但主要的想法是使用不同的字体制作图标 我需要它,因为我需要实现一个使用它的库() 我得到了所有类型的错误,如:错误:(2)属性“iconSize”已定义匹配其他库中的其他文件已导入 有人知道我如何解决这个问题吗?有没有办法让编译器忽略这一点 我的build.gradle文件: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsV
字体制作图标
我需要它,因为我需要实现一个使用它的库()
我得到了所有类型的错误,如:错误:(2)属性“iconSize”已定义
匹配其他库中的其他文件
已导入
有人知道我如何解决这个问题吗?有没有办法让编译器忽略这一点
我的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'
}
您的项目是否使用gradle build?是的,我想在搜索了更多关于此的信息后,我发现了问题所在,似乎打印库使用了一些其他库中已经定义的属性,我也尝试下载项目并将其作为模块导入项目,修改属性并使用它,但我犯了错误,因为他在gradle上使用了一些符号而不是值。因为他在gradle上使用了一些符号而不是值…对不起,我几乎听不懂你在说什么。你的项目使用gradle build吗?是的,我想我在搜索了更多关于此的信息后发现了问题所在,似乎打印库使用了一些在其他库中已经定义的属性。我也尝试下载项目并将其作为模块导入到项目中,修改属性并使用它,但我得到了错误,因为他在gradle上使用了一些符号而不是值。因为他在gradle上使用了一些符号而不是值…对不起,几乎听不懂你在说什么。