react-native: [Android] undefined is not an object(evaluating 'NativeModules.AndroidConstants.ServerHost.split')
I can assume the error happens in here,
https://github.com/facebook/react-native/blob/master/Libraries/Devtools/setupDevtools.js#L22
I don’t have a clue what to do with this one. Do I need to fork the react-native and comment this line and just assign 'localhost'
???
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 15 (4 by maintainers)
I also encountered the same problem, but in accordance with the above mentioned have not been resolved, it should be how to do?
also just ran into this problem while trying to get Android working for a React Native project where iOS is already working
I have an app with react-native version 0.33.0 , and done
react-native upgrade
and am seeing this issue.