gpt4 book ai didi

java - 检索项目 : No resource found that matches the given name android 的父级时出错

转载 作者:行者123 更新时间:2023-12-02 12:32:27 25 4
gpt4 key购买 nike

编译库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:1.3@aar'
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:1.3.0@aar'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.3.0@aar'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.github.siyamed:android-shape-imageview:0.9.+@aar'
compile 'com.jjoe64:graphview:4.2.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.daimajia.swipelayout:library:1.2.0@aar'
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:1.1.3@aar'
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'

最佳答案

您使用的是compileSdkVersion 23,因此您需要使用api 23的支持库

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

RecyclerView降级至23或将compileSdkVersion升级至25

关于java - 检索项目 : No resource found that matches the given name android 的父级时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45240000/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com