react-native-Gank
react-native-Gank copied to clipboard
A cross platform App which shows the contents from gank.io
node server Url is correctly set in appDelegate
运行成功之后,进入app 出现了 Unknown named module:'react-native/Libraries/vendor/emitter/EventEmitter' 请问怎么解决?
1. 修改react-native-root-siblings/lib/AppRegistryInjection.js文件: // import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter'; import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter'; 2. 修改react-native-root-toast/lib/ToastContaner.js文件: 将‘ViewPropTypes’改为'View.propTypes'
Unable to resolve module react-native/Libraries/vendor/emitter/EventEmitter from /Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js: Module does not exist in the module map or in these directories: /Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native/Libraries/vendor/emitter
 - -
 while I execute react-native run-android, occur it. So I solved it by adding @Override public boolean canOverrideExistingModule(){ return true; } in source code : react-native-Gank\node_modules\react-native-vector-icons\android\src\main\java\com\oblador\vectoricons\VectorIconsModule.java. Hope someone can get...
Installing build/Build/Products/Debug-iphonesimulator/GankIO.app An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Failed to install the requested application An application bundle was not found at the provided path. Provide a valid...
when install the apk file, It will pop up the error screen 
我写了个博客,可能会对大家有帮助,感谢作者的git库,使我收益匪浅,感谢哈。
 如图所示。另建议添加上拉加载历史数据的功能。