I'm trying to run react-native run-android or npx react-native run-android but receive the following error:
Things I've tried:
Reinstall node_modules cd ./android and then ./gradlew clean
react-native link @react-native-community/async-storage
npm upgrade --pattern react-native.
My versions
gradle-6.2
My dependencies :
"dependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/drawer": "^6.1.4",
"@react-navigation/native": "^6.0.2",
"@react-navigation/stack": "^6.0.7",
"moment": "^2.29.1",
"react": "16.13.1",
"react-native": "0.63.4",
},
But none of them seems to work. I am glad to hear your suggestion, thank you in advance!