久久久久久久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 庫的傳遞依賴)
主站蜘蛛池模板: 久久久久久久久99 | 久久国产区 | 日本成人中文字幕 | 久草视 | 免费在线视频一区二区 | 99re视频在线观看 | 精品毛片视频 | 欧美日韩午夜精品 | 日韩高清一区 | 91视频在线观看免费 | 日韩视频1 | 欧美综合国产精品久久丁香 | 中文字幕在线观看第一页 | 欧美一区二区小视频 | 亚洲精品片| 久久国产精品99久久久大便 | 中文字幕高清 | 亚洲精品一区二区三区丝袜 | 国产成人高清视频 | 懂色av色香蕉一区二区蜜桃 | 91看片网 | 精品视频一区二区三区在线观看 | 中文字幕av在线播放 | 成人日韩 | 四虎影视1304t | 在线一区二区三区 | 男人亚洲天堂 | 亚洲欧美综合精品久久成人 | 精品国产一区二区三区久久 | 国产欧美日韩在线播放 | 日韩欧美国产精品一区二区三区 | 99re在线视频| 国产日韩欧美 | 久久精品国产久精国产 | 日韩高清不卡 | 羞羞视频在线观看 | 久草在线在线精品观看 | 伊人电影院av | 欧美日韩高清一区 | 日韩免费视频一区二区 | 日韩在线观看视频一区 |