make sure you have to right android development environment code example
Example: what is error make sure you have android development environment set up
use the below code :
react-native start --reset-cache
use the below code :
react-native start --reset-cache