问题
This is for React Native on Android.
When I try to start my React Native screen in my app I get the red screen that says Could not connect to development server
. However this can't be true. Every time I try to reload the Javascript I see the following update in the terminal that's running my react native server:
Bundling `index.android.js`
Transforming modules 100.0% (390/390), done.
Bundling `index.android.js`
No module changed.
Bundling `index.android.js`
No module changed.
Clearly it's making a request to the server, but the error says something else. What's going on here?
来源:https://stackoverflow.com/questions/42233514/could-not-connect-to-development-server-running-react-native-even-though-develop