0
votes

enter image description here

I got these errores when I was adding AsyncStorage dependencies (https://github.com/react-native-community/async-storage)

I was using React Native CLI, not expo, I had ran 'react-native link @react-native-community/async-storage' in the project root.

My problem was when i ran '--clearCache' flag, maybe that was my problem, I don't know. If you know how to run the flag '--clearCache' please help me.

2
try by running pod install inside the /ios directory. - EL173

2 Answers

0
votes

Try this

react-native link @react-native-community/async-storage

Then Run react-native run-android

0
votes

For me,
1. Reinstalling app
2. restarting bundler with npm start --reset-cache

solved the issue! in Android