-1

私はグラデルの依存関係があります。 私はを追加します。 '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; 
    } 
} 
+0

あなたのAndroid SDKおよびgradleバージョンを更新しても問題ありませんか? –

+0

私は** classpath 'com.android.tools.build:gradle:2.2.3'** –

+0

とSDKバージョンを持っていますか?それは22だと思いますか? –

答えて

0

com.heinrichreimersoftware:material-intro:1.6はこの依存関係を持っている:

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

それはあなたがcompileSdkVersion 24を使用する必要があり、あなたがあなたの同じレベルを使用する必要がありV24を使用しているので、依存関係。

+0

ありがとう。私はgradleファイルを更新しました。ここで見ることができます:http://pastebin.com/atGPm0ccしかし、何も変更されていません。私のgradleファイルをチェックしてもいいですか? –

関連する問題