2017-02-09 4 views
0

コンパイルされたSDKバージョンを使用してリサイクラービューライブラリバージョンをエラーに調整する際に問題が発生します。リサイクラービューライブラリバージョンコンパイル済みSDKバージョンと互換24

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 24 
    buildToolsVersion "25.0.1" 

    defaultConfig { 
     applicationId "com.example.users.recyclerviewreloaded" 
     minSdkVersion 14 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 
dependencies { 
    compile fileTree(include: ['*.jar'], dir: 'libs') 
    testCompile 'junit:junit:4.12' 
    compile 'com.android.support:appcompat-v7:+' 
    compile 'com.android.support:recyclerview-v7:25.1.1' 
} 
+0

あなたのSO問題の実際のエラーを記載してください - :

私のコードは次のとおりです。 – AndySavage

+0

エラーログを追加します。 –

答えて

0

更新してcompileSdkVersionとbuildToolsVersion

compileSdkVersion 25 and buildToolsVersion "25.0.2"

関連する問題