[Android] undefined is not an object(evaluating 'NativeModules.AndroidConstants.ServerHost.split')
See original GitHub issue
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'
???
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:15 (1 by maintainers)
Top Results From Across the Web
React-Native: undefined is not an object (evaluating 'Sn[e]')
I'm getting this error in Android Studio when I use the class Run button to try to build the app on my phone...
Read more >error: undefined is not an object (evaluating '$scope.settings ...
When I use ListView to show my data, a question occur to me. it throws Undefined is not an object (evaluating 'dataSource.rowIdentities'). Here...
Read more >React-Native / Expo Go: How to solve `TypeError: null is not ...
Expo Go doesn't build native modules, so you may run into this error while trying to run your app with react-native-purchases in Expo...
Read more >Android custom native module
I followed the steps but when i run expo start and scan the qr code i got this error : TypeError: null is...
Read more >react-native-fabric from corymsmith - Coder Social
Before the app loads, I get a red error screen saying "undefined is not an object (evaluating NativeModules.AndroidConstants.ServerHost.split)".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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