No Resource Found That Matches the Given Name: Attr 'Android:Keyboardnavigationcluster'. When Updating to Support Library 26.0.0

No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. when updating to Support Library 26.0.0

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

No resource found that matches the given name: attr 'android:keyboardNavigationCluster'

It's look like setKeyboardNavigationCluster was added in API 26 for View, or support library v26.0.1.

For both cases you need to update compileSdkVersion to API 26.

No resource found that matches the given name: attr 'android:keyboardNavigationCluster'

It is a major issue you just need to do this

In app level build.gradle file use

complieSdkVersion 26  
buildToolVersion "26.0.1"

This will resolve your error.

Xamarin Forms, Android Build Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'

I resolved it by updating Visual Studio

react-native-fbsdk error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'

Go to React-Native Project : android/build.gradle file and restrict fbsdk Version to 4.28.0.

allprojects {
repositories {
...
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.28.0'
}
}
}
}

If you have another error like below:

Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'`.

You can try:

allprojects {
repositories {
...
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.22.1'
}
}
}
}

Source: rafaesc

Error: No resource found that matches the given name (at 'dial ogCornerRadius' with value '?android:attr/dialogCornerRadius')

Maybe you should check your added plugin carefully to find if there are some plugins using design lib like: compile 'com.android.support:design:+'. Take care of some plugins may use a separate gradle file. If your cordova android version is 6+, you can change the design dependency to com.android.support:design:26.+.

I'm facing the same issue, and I found a plugin written by myself has the problem said above. After fix that, it works well. Hope this can help you.



Related Topics



Leave a reply



Submit