I have basic React Native app. I am trying to test it in virtual Android device. I am navigating to the project and type npm start -- --reset-cache. I kill the proccess and I am typing react-native run-android. I have active Android device, but I see on it this error:
The development server returned response error code: 404 URL: http://10.0.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false Body... "Cannot find entry file index.js in any of the roots:[\"c:\\projects\\HelloRN]"....
I have index.js in the root of the project. Metro Bundler is running on port 8081, but I see same error from it.
I am using React Native 0.51.0.