Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mjm918 opened this issue Jul 17, 2018 · 5 comments

Comments

@mjm918
Copy link

mjm918 commented Jul 17, 2018

I am trying to run my app with react-native run-android but getting the following error

error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'
:react-native-spinkit:processReleaseResources FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-spinkit:processReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

I deleted node_modules, run npm install but still same. I tried clearing cache but error still exists

Any solution? I can't even run my project

@viv3kk
Copy link

viv3kk commented Jul 24, 2018

Me too facing this issue..

@sunny635533
Copy link

me too!

@pnthach95
Copy link

Delete android and ios folder, run react-native eject, then react-native link. It worked for me.

@youngjuning
Copy link

Any Solution??

@mjm918
Copy link
Author

mjm918 commented Nov 13, 2018

I fixed the issue long time ago but can't really remember how. In this kind of issues, i try to run the app with Android Studio first. If I'm not mistaken it was related to some SDK issue. Android studio is good to fix SDK related issues. Check whether it is mixing with different version of targetSDK version. If it's related to SDK, you can try as below to force every project to use same SDK:

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 27
                buildToolsVersion "27.0.2"
            }
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants