Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `Diary`.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `Diary`.
解决方法:在DiaryList中少写了module.exports=DiaryList;
_reactNative.StatusBarIOS.setHidden is not a function. (In '_reactNative.StatusBarIOS.setHidden(true)', '_reactNative.StatusBarIOS.setHidden' is undefined)
解决方法:将StatusBarIOS替换为StatusBar
Warning: setState(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.
解决方法:在write文件中的返回的TouchableOpacity中的oppress函数的问题->将{()=>this.props.xxx}写成了{this.props.xxx}
Application ScrollViewTest has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
解决方法:将控制台关了,一次只能开一个RN程序,不能同时多个RN程序运行。
null is not an object (evaluating 'this.state.userPickedName')
解决方法:将成员变量写在getInitialState函数里。