-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Sergey edited this page Oct 3, 2018
·
2 revisions
Welcome to the Office Assistant wiki!
Open your console and run:
cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../
cd node_modules/react-native/third-party/glog-0.3.5/ && ../../scripts/ios-configure-glog.sh && cd ../../../../
Got it from https://github.com/facebook/react-native/issues/21168#issuecomment-422431294
But then Android build will fails, so you need to reinstall node_modules:
rm -rf node_modules
yarn install
Need to build an app locally. Do
rm ./android/app/src/main/assets/index.android.bundle
react-native bundle --assets-dest ./android/app/src/main/res/ --entry-file ./index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --platform android --dev false
- Delete all
drawable
-s folders from res folder cd android && ./gradlew assembleRelease