react-native-spinkit icon indicating copy to clipboard operation
react-native-spinkit copied to clipboard

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

Open mjm918 opened this issue 6 years ago • 5 comments

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

mjm918 avatar Jul 17 '18 03:07 mjm918

Me too facing this issue..

viv3kk avatar Jul 24 '18 13:07 viv3kk

me too!

sunny635533 avatar Oct 11 '18 06:10 sunny635533

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

pnthach95 avatar Oct 11 '18 14:10 pnthach95

Any Solution??

youngjuning avatar Nov 06 '18 11:11 youngjuning

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"
            }
        }
    }
}

mjm918 avatar Nov 13 '18 06:11 mjm918