2017-06-02 2 views
0

を使用する必要があり、それはこのエラーを示している -すべてcom.android.supportライブラリがまったく同じバージョンの仕様(混合バージョンは時間のクラッシュを実行するように導くことができます)

すべてのCOM .android.supportライブラリはまったく同じバージョン仕様を使用しなければなりません(ミックスバージョンはランタイムクラッシュにつながる可能性があります)。バージョン25.3.1、23.4.0が見つかりました。例としては、com.android.support:animated-vector-drawable:25.3.1com.android.support:palette-v7:23.4.0

を含むが、私はpaletter-V7のいずれかの使用を見つけることができませんでした:23.4.0ライブラリ

のGradle -

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 25 
    buildToolsVersion "25.0.3" 
    defaultConfig { 
     applicationId "cpm.advancetect.atadvertisement" 
     minSdkVersion 19 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    compile 'com.android.support:appcompat-v7:25.3.1' 
    compile 'com.android.support.constraint:constraint-layout:1.0.2' 
    compile 'com.google.firebase:firebase-storage:10.0.1' 
    compile 'com.google.firebase:firebase-auth:10.0.1' 
    compile 'com.google.firebase:firebase-database:10.0.1' 
    compile 'com.firebaseui:firebase-ui-storage:1.2.0' 
    testCompile 'junit:junit:4.12' 
} 
apply plugin: 'com.google.gms.google-services' 

答えて

1

あなたの依存関係のいくつかのcosをたまたま使用していますパレットライブラリ。簡単な解決策は、あなたのアプリをパレットライブラリに依存させることですが、期待されるバージョンを使用することです。

したがって、アプリの依存関係にcompile 'com.android.support:palette-v7:25.3.1'を追加するだけです。

+1

ありがとうございます、それは@rocboronat –

関連する問題

 関連する問題