Regenerate ios and android folder in React Native Project

September 02, 2020

Delete ios and android folders.

Inside your project directory.

npx react-native init YourProjectName
mv YourProjectName/ios ios
rm -rf YourProjectName

Written by Manoj Bhardwaj who lives and works in Dharamshala Himachal Pradesh (India). My stackoverflow