2017-07-21 11 views
0

ライブラリfm.jiecao:jiecaovideoplayer:5.7をコンパイルするとエラーが発生します。アイテムの親を取得中にエラーが発生しました:指定された名前と一致するリソースが見つかりませんでした

エラー:

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies] /Users/dd/Desktop/test/ddd/app/build/intermediates/res/merged/debug/values-v24/values-v24.xml 
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. 
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'. Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. 
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'. Error:Execution failed for task ':app:processDebugResources'. 
com.android.ide.common.process.ProcessException: Failed to execute aapt Information:BUILD FAILED Information:Total time: 25.061 secs Information:5 errors Information:0 warnings Information:See complete output in console 

私のGradleファイル:

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 23 
    buildToolsVersion '25.0.0' 

    defaultConfig { 
     applicationId "ccccccup" 
     minSdkVersion 17 
     targetSdkVersion 23 
     versionCode 10 
     versionName '1.7' 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
    /*dexOptions { 
     incremental true 
     javaMaxHeapSize "4g" 
     jumboMode = true 
    }*/ 
    packagingOptions { 
     exclude 'META-INF/DEPENDENCIES' 
     exclude 'META-INF/NOTICE' 
     exclude 'META-INF/LICENSE' 
    } 
    productFlavors { 
    } 
    lintOptions { 
     checkReleaseBuilds false 
    } 


} 

dependencies { 
    compile fileTree(include: ['*.jar'], dir: 'libs') 
    //Optional: see how to use the utility. 
    compile('io.socket:socket.io-client:0.8.3') { 
     exclude group: 'org.json', module: 'json' 
    } 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 



    compile 'com.loopj.android:android-async-http:1.4.5' 
    compile 'com.android.support:appcompat-v7:23.4.0' 
    compile 'com.jeremyfeinstein.slidingmenu:library:[email protected]' 
    compile 'com.android.support:cardview-v7:23.1.0' 
    compile 'com.android.support:recyclerview-v7:25.0.1' 
    compile 'in.srain.cube:grid-view-with-header-footer:1.0.12' 
    compile 'com.github.bumptech.glide:glide:3.7.0' 
    compile 'com.squareup.picasso:picasso:2.4.0' 
    compile 'com.ogaclejapan.smarttablayout:library:[email protected]' 
    compile 'com.ogaclejapan.smarttablayout:utils-v4:[email protected]' 
    compile 'com.google.code.gson:gson:2.2.4' 
    compile 'com.github.siyamed:android-shape-imageview:[email protected]' 
    compile 'com.jjoe64:graphview:4.2.1' 
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' 
    compile 'com.daimajia.swipelayout:library:[email protected]' 
    compile 'com.nineoldandroids:library:2.4.0' 
    compile 'com.inthecheesefactory.thecheeselibrary:adjustable-imageview:1.0.0' 
    compile 'com.facebook.android:facebook-android-sdk:4.20.0' 
    compile 'com.android.support:design:23.2.1' 
    compile 'me.leolin:ShortcutBadger:[email protected]' 
    compile 'com.github.PhilJay:MPAndroidChart:v2.1.6' 
    compile 'com.google.firebase:firebase-messaging:11.0.1' 
    compile 'com.github.Cutta:TagView:1.3' 
    compile 'com.github.douglasjunior:android-simple-tooltip:0.2.0' 
    compile 'com.google.android.gms:play-services-auth:11.0.1' 
    compile 'com.android.support:support-v4:23.4.0' 
    compile 'com.squareup.okhttp3:okhttp:3.8.0' 
    compile 'fm.jiecao:jiecaovideoplayer:5.7' 
    testCompile 'junit:junit:4.12' 
} 
apply plugin: 'com.google.gms.google-services' 

答えて

1

あなたがcompileSdkVersion 23を使用しているので、あなたは23へのAPIのサポートLIBS 23

compile 'com.android.support:recyclerview-v7:25.0.1' 

ダウングレードRecyclerViewを使用する必要がありますcompileSdkVersionを25

にアップグレードしてください
関連する問題

 関連する問題