1. Running 1 of 1 custom shell scripts 卡住的問題。
分析:
四個文件沒有下載完成。
boost_1_63_0.tar.gz
folly-2016.09.26.00.tar.gz
double-conversion-1.1.5.tar.gz
glog-0.3.4.tar.gz
1.下載文件 ---->這里有解決方案:
http://bbs.reactnative.cn/topic/4301/ios-rn-0-45以上版本所需的第三方編譯庫-boost等
千萬不要從他百度網盤里下 有可能你安裝默認的版本和他的百度網盤版本不一致..
打開這個鏈接
https://github.com/facebook/react-native/blob/master/scripts/ios-install-third-party.sh
最下面按照git地址進行下載 ... 因為當Xcode進行編譯項目的時候會校驗下載文件的 hash值 。
根據自己的版本進行選擇,要不然啟動的時候會報hash值錯誤
2.下載完成之后將文件放入:
/Users/你的用戶名/.rncache
一切OK
2. React Native Navigation 不能用 報RCCManager 未找到的原因
1.目前采了一個坑 版本的不對應....官方明確說明大於RN版本 需要大於0.51 目前最新版本0.55不能用換成 0.51可用
make sure you are using react-native version >= 0.51. We also recommend using npm version >= 3
3.Could not install the app on the device,
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
解決方法:
chmod -R 755 android/gradlew