question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

Description

Just trying to run a build in Android Studio out of the box after ejecting to ExpoKit, and it errors out on me, with the following error: Error:(13, 5) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

Expected Behavior

Expected it to build without errors, similar to iOS

Observed Behavior

/Users/kyle/Documents/Development/app-mobile/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/27.0.1/res/values-v26/values-v26.xml `Error:Execution failed for task ‘:app:processDebugResources’.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘/Users/kyle/Library/Android/sdk/build-tools/25.0.2/aapt’’ finished with non-zero exit value 1`

Environment

expo - v21.0.0 react native - expo sdk 21 fork android studio v3.0.1 gradle 2.10

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

50reactions
patilrevansidhcommented, Dec 8, 2017

I also faced this issue you just need to make 2 chnages: in android/build.gradle metion this below code subprojects { afterEvaluate { project -> if (project.hasProperty("android")) { android { compileSdkVersion 26 buildToolsVersion '26.0.2' } } } }

android/app/build.gradle change your compliesdk version and buildToolVersion like this: compileSdkVersion 26 buildToolsVersion "26.0.2" and in

dependencies {
compile 'com.android.support:appcompat-v7:26.0.2'
}

but this will work if you eject expo

38reactions
TheBlackHackercommented, Jun 12, 2018

Change compileSdkVersion and buildToolsVersion in android/app/build.gradle is worse, fixed it just by add this to android/build.gradle:

subprojects { 
     afterEvaluate { 
         project -> if (project.hasProperty("android")) { 
             android { 
                 compileSdkVersion 26 
                buildToolsVersion '26.0.2' 
             } 
         } 
     } 
 }
Read more comments on GitHub >

github_iconTop Results From Across the Web

No resource found that matches the given name: attr 'android ...
I was able to resolve it by updating sdk version and tools in gradle compileSdkVersion 26 buildToolsVersion "26.0.1".
Read more >
No resource found that matches the given name: attr ... - GitHub
Just trying to run a build in Android Studio out of the box after ejecting to ExpoKit, and it errors out on me,...
Read more >
No resource found that matches the given name ... - SyntaxFix
No resource found that matches the given name : attr 'android:keyboardNavigationCluster'. when updating to Support Library 26.0.0.
Read more >
error APT0000: 1: error: Error: No resource found that matches ...
error APT0000: 1: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. To fix it, check ...
Read more >
Error: No resource found that matches the given name: attr 'android ...
User339762 posted. Hello, after updating my libraries I had the error in Android project. Severity Code Description Project File Line Suppression State ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found