ReactNative开发之疑难杂症2

1.

package.json中添加如下命令,

运行

参考链接

https://github.com/facebook/react-native/issues/18313

2.

修改index中的export default class { … }为export default class Chicken { .. }

参考链接

https://github.com/magicismight/react-native-root-toast/issues/79

3.

Connection has no connected handler

参考链接

https://github.com/facebook/react-native/issues/10027

https://stackoverflow.com/questions/37886600/ios-10-doesnt-print-nslogs

Realm构建太慢

4:

v0.57.2

_this._registerEvents is not a function on a clean project

 

6.

使用

查看库的依赖树

手动统一版本

参考链接

Android 日常报错之 Android dependency ‘com.android.support:support-v4’ has different version

support中v4 v7库版本错误详解

分享到:

发表评论

沙发空缺中,还不快抢~