pod换源:https://blog.csdn.net/shenxiandashu/article/details/80550162
pod install时提示Too many open files in system - sw_vers (Errno::ENFILE):https://www.jianshu.com/p/b7c3e7904cd0(执行pod install之前执行sudo ulimit -n 4096)
安装react native之后安装amap提示找不到-lDoubleConversion:
不能打开原来的项目,要打开安装pod后的新的启动文件(pod install的时候,最后的提示信息有说)
mobx:https://blog.csdn.net/qq_32400821/article/details/87887078
Support for the experimental syntax ‘decorators-legacy’ isn’t currently enabled:https://www.jianshu.com/p/1cc6d4273445。里面还需要安装babel-preset-react-app
PropTypes现在来自自己npm下载的’prop-types’
权限申请:https://blog.csdn.net/mochiwxtianya/article/details/78545975
地图定位权限:https://lbs.amap.com/api/android-location-sdk/guide/android-location/getlocation
debug模式签名(安卓):https://blog.csdn.net/chengxu_kuangrexintu/article/details/80949884
安卓真机调试:到sdk目录(/Users/xxx/Library/Android/sdk/platform-tools)后./adb reverse tcp:8081 tcp:8081
安卓发布报错:https://www.jianshu.com/p/72683f7e9488
app下面的build.gradle,
1 | project.ext.react = [ |
ios发布的时候:’Multiple commands produce’ https://github.com/facebook/react-native/issues/20492
duplicate symbols可以在build phases里面删掉
安卓发布不用运行bundle-android
ios发布相关realpath不存在的错误:
安卓9不允许http联网:https://www.jianshu.com/p/b7ee5f412d1e
CameraRoll 找不到的问题:https://www.shiqidu.com/p/132
和汉字等宽空格:https://www.zhangxinxu.com/wordpress/2015/01/tips-blank-character-chinese-align/