久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

找不到與給定名稱匹配的資源:attr 'android:key

No resource found that matches the given name: attr #39;android:keyboardNavigationCluster#39;. when updating to Support Library 26.0.0(找不到與給定名稱匹配的資源:attr android:keyboardNavigationCluster.更新到支持庫 26.0.0 時
本文介紹了找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.更新到支持庫 26.0.0 時的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我在更新到最新的支持庫版本 26.0.0 時遇到了這個問題(https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-0):

<塊引用>

錯誤:(18, 21) 找不到與給定名稱匹配的資源:attr'android:keyboardNavigationCluster'.

/.../app/build/intermediates/res/merged/beta/debug/values-v26/values-v26.xml錯誤:(15, 21) 找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.錯誤:(18, 21) 找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.錯誤:(15, 21) 找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.錯誤:(18, 21) 找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.錯誤:任務(wù):app:processBetaDebugResources"執(zhí)行失敗.

<塊引用>

com.android.ide.common.process.ProcessException: 無法執(zhí)行 aapt

文件來自支持庫:

<style name="Base.V26.Widget.AppCompat.Toolbar" parent="Base.V7.Widget.AppCompat.Toolbar"><item name="android:touchscreenBlocksFocus">true</item><item name="android:keyboardNavigationCluster">true</item></風(fēng)格>

我們使用以下版本:

ext.COMPILE_SDK_VERSION = 26ext.BUILD_TOOLS_VERSION = "26.0.1"ext.MIN_SDK_VERSION = 17ext.TARGET_SDK_VERSION = 26ext.ANDROID_SUPPORT_LIBRARY_VERSION = "26.0.0"ext.GOOGLE_PLAY_SERVICES_LIBRARY_VERSION = "11.0.2"

<小時>

編譯 'com.android.support:appcompat-v7:' + ANDROID_SUPPORT_LIBRARY_VERSION編譯 'com.android.support:design:' + ANDROID_SUPPORT_LIBRARY_VERSION編譯 'com.android.support:recyclerview-v7:' + ANDROID_SUPPORT_LIBRARY_VERSION

有什么想法嗎?

解決方案

我可以通過更新 gradle 中的 sdk 版本和工具來解決它compileSdkVersion 26buildToolsVersion "26.0.1"

支持庫 26.0.1 https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-1

I've got this issue while updating to the latest Support Library version 26.0.0 (https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-0):

Error:(18, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

/.../app/build/intermediates/res/merged/beta/debug/values-v26/values-v26.xml
Error:(15, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Error:(18, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Error:(15, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Error:(18, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Error:Execution failed for task ':app:processBetaDebugResources'.

com.android.ide.common.process.ProcessException: Failed to execute aapt

The file is from the support library:

<style name="Base.V26.Widget.AppCompat.Toolbar" parent="Base.V7.Widget.AppCompat.Toolbar">
    <item name="android:touchscreenBlocksFocus">true</item>
    <item name="android:keyboardNavigationCluster">true</item>
</style>

We're using the following versions:

ext.COMPILE_SDK_VERSION = 26
ext.BUILD_TOOLS_VERSION = "26.0.1"

ext.MIN_SDK_VERSION = 17
ext.TARGET_SDK_VERSION = 26
ext.ANDROID_SUPPORT_LIBRARY_VERSION = "26.0.0"
ext.GOOGLE_PLAY_SERVICES_LIBRARY_VERSION = "11.0.2"


compile 'com.android.support:appcompat-v7:' + ANDROID_SUPPORT_LIBRARY_VERSION
compile 'com.android.support:design:' + ANDROID_SUPPORT_LIBRARY_VERSION
compile 'com.android.support:recyclerview-v7:' + ANDROID_SUPPORT_LIBRARY_VERSION

Any ideas?

解決方案

I was able to resolve it by updating sdk version and tools in gradle compileSdkVersion 26 buildToolsVersion "26.0.1"

and support library 26.0.1 https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-1

這篇關(guān)于找不到與給定名稱匹配的資源:attr 'android:keyboardNavigationCluster'.更新到支持庫 26.0.0 時的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現(xiàn) IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當(dāng)前風(fēng)味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復(fù)“意外元素lt;查詢gt;在“清單中找到錯誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風(fēng)味庫的多風(fēng)味應(yīng)用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運行時有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫的傳遞依賴)
主站蜘蛛池模板: 日本韩国欧美在线观看 | 日日噜噜噜夜夜爽爽狠狠视频, | 91精品国产麻豆 | 日韩在线视频一区 | 99久久婷婷国产综合精品电影 | 国产精品久久国产精品 | 国产精品毛片 | 日本三级网址 | 在线观看成人免费视频 | 国产人成在线观看 | 精品久久久久久久久久 | 日本欧美视频 | 日本久久精品 | 91精品国产欧美一区二区 | 在线国产视频观看 | 中文字幕一区二区三区四区不卡 | 精品人伦一区二区三区蜜桃网站 | 农夫在线精品视频免费观看 | 一级黄色短片 | 国产精品视频网 | 亚洲视频一区 | av网站免费在线观看 | 99视频在线 | 视频一区在线 | av黄在线观看 | 国产视频h | 亚洲欧美高清 | 久草青青 | 久久这里只有精品首页 | 日韩在线视频一区 | 97视频在线看 | 日韩一区二区福利 | 污视频免费在线观看 | 中文字幕av亚洲精品一部二部 | 欧美日韩国产一区二区三区 | www.亚洲视频.com| 4h影视| 精品一区二区三区在线观看国产 | 午夜视频在线观看视频 | 亚洲色图第一页 | 国产99久久久国产精品下药 |