ReactNative 学习(遇到的坑)

Application xxxx has not been registered.This is either due to a require() error during initialization or failure to call AppRegistry.reisterComponet

在运行RN代码的时候会出现这种错误 是因为你启动的服务器和当期运行的程序不是同一个!

在启动服务和运行程序改为同一个就可以了

你可能感兴趣的:(ReactNative 学习(遇到的坑))