2017-11-13 10 views
0

"com.android.supportライブラリはすべて同じバージョン仕様を使用する必要があります(ミックスバージョンはランタイムクラッシュにつながる可能性があります)。バージョン27.0.1、25.3.1。例:com.android.support:animated-vector-drawable:27.0.1およびcom.android.support:customtabs:25.3.1 "というエラーがAndroidマニフェストにあります。マニフェストのエラー - すべてのcom.android.supportライブラリは正確に同じバージョン仕様を使用する必要があります

私は、 "compile 'com.android.support:appcompat-v7:27+'のようなバージョンを使用し、アンドロイドスタジオからの提案に従って修正しました。しかし、私は同じエラーが発生しています。助けてください。

apply plugin: 'com.android.application' 
android { 
compileSdkVersion 27 
buildToolsVersion '27.0.1' 
defaultConfig { 
    applicationId "com.app" 
    minSdkVersion 16 
    targetSdkVersion 27 
    versionCode 1 
    versionName "1.0" 
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
    vectorDrawables.useSupportLibrary = true 

} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 
} 

dependencies { 
compile fileTree(include: ['*.jar'], dir: 'libs') 
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', 
{ 
    exclude group: 'com.android.support', module: 'support-annotations' 
}) 

compile 'com.facebook.android:facebook-android-sdk:[4,5)' 
compile 'com.android.support:appcompat-v7:27.0.1' 
compile 'com.android.support.constraint:constraint-layout:1.0.2' 
compile 'com.android.support:cardview-v7:27.0.1' 
compile 'com.github.bumptech.glide:glide:3.7.0' 
compile 'info.hoang8f:android-segmented:1.0.6' 
compile 'com.android.volley:volley:1.0.0' 
compile 'com.android.support:design:27.0.1' 
compile 'de.hdodenhof:circleimageview:2.1.0' 
testCompile 'junit:junit:4.12' 

}

+0

'com.android.support:customtabs:27.0.0' –

+0

' com.android.support:サポート-compatの:27.0.0' –

+0

私はプロジェクト – user2269164

答えて

1

サードパーティのライブラリの一つは、サポートライブラリのバージョン25.3.1を使用してあります。 サポートライブラリのバージョンを25.3.1に変更し、プロジェクトを同期してみてください。

関連する問題