Open mjm918 opened 6 years ago
Me too facing this issue..
me too!
Delete android
and ios
folder, run react-native eject
, then react-native link
. It worked for me.
Any Solution??
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"
}
}
}
}
I am trying to run my app with
react-native run-android
but getting the following errorI deleted node_modules, run
npm install
but still same. I tried clearing cache but error still existsAny solution? I can't even run my project