我有一个 gradle 依赖项。当我添加compile 'com.heinrichreimersoftware:material-intro:1.6' 时,gradle 同步后出现错误。=> 属性“titleTextColor”已经用不兼容的格式定义。
你有没有这种经历的人?
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 29
versionName "2.1"
multiDexEnabled true
}
...
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.github.johnpersano:supertoasts:1.3.4@aar'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'net.danlew:android.joda:2.3.3'
compile 'eu.inmite.android.lib:android-styled-dialogs:1.2.0'
compile 'com.google.android.gms:play-services:8.3.0'
compile 'com.android.support:design:22.2.1'
compile 'com.github.blackfizz:eazegraph:1.2.5l@aar'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:support-v4:22.2.1'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'
compile 'com.github.clans:fab:1.6.4'
compile 'com.heinrichreimersoftware:material-intro:1.6'
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
transitive = true;
}
}