Running the Example application on with react-native run-android:
Application Example has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
Still learning react native.
You're right, something went wrong with the example. I'm on it.
I just merged a fix into master, just grab the last version and you should be able to run the example.
Sorry for this inconvenience, if it doesn't fixed your issue just reopen it.
Happy learning !
Looks good for the Example app!
I'm still getting the same error message in my separate app after applying this fix. This error message can point to errors in Example.js and beyond? I'm using Chrome debugging tools to find out whats wrong but there's not a lot of informative debugging info.
edit: ahh, AppRegistry.registerComponent('Example', () => Example)
The string 'Example' has to be exactly the same as the package name. I'm ok now!
Just as a general question how is it possible to determine the source of this error:
Warning: ReactNative.Children is deprecated. Use React.Children from the "react" package instead.
I've double and triple checked all my import React statements are import React from 'react' and not 'react-native', in my app's equivalent to Example.js, index.android.js, and components/Home.js. I have no other components at the moment.
The debugging information is just too sparse..
this problem still seems to be occurring? I'm not able to run the example code at all
Hello, I still have the same issue!
This issue is still at there. I want to view the example, who can help me?
Most helpful comment
You're right, something went wrong with the example. I'm on it.