Closed zhanguangao closed 7 years ago
Have you followed the readme and changed the codes in MainApplication.java? You can see https://github.com/cyqresig/ReactNativeComponentDemos for the correct installation codes.
@cyqresig I forgot to copy setReactNativeHost() in MainApplication, I added it and now run successful,thanks a lot;
MainActivity.java:35: error: can't find symbol application.setReactNativeHost(new ReactNativeHost(application) { ^ symbol: setReactNativeHost()
position: MainApplication application