我有一個gradle依賴關係。 當我添加編譯'com.heinrichreimersoftware:material-intro:1.6' 我在gradle sync後出現錯誤。 =>屬性「titleTextColor」已經用不兼容格式定義。屬性「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:[email protected]'
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:[email protected]'
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:[email protected]') {
transitive = true;
}
}
如果您更新了您的Android SDK和gradle版本,那會好嗎? –
我有** classpath'com.android.tools.build:gradle:2.2.3'** –
和SDK版本?我想它是22? –