blackchestnut / blackchestnut.github.io

Developer notes about Ruby on Rails, React Native, PostgreSQL, etc.
https://kalinichev.net
4 stars 0 forks source link

Android release APK, build error third-party/glog-0.3.4/test-driver #25

Open blackchestnut opened 7 years ago

blackchestnut commented 7 years ago
unlink node_modules/react-native/third-party/glog-0.3.4/test-driver

Source https://github.com/facebook/react-native/issues/14464#issuecomment-309289808

JulianKingman commented 5 years ago

It seems to fail when ios-install-third-party.sh doesn't run (for some reason). So the thing is to re-run the scripts.

  1. go to node_modules/react-native/scripts and run bash ios-install-third-party.sh
  2. Manually download the glog-0.3.4 (inspect above script to get the url)
  3. Manually run the ios-config-glog.sh in a temp folder with the downloaded and unpacked glog files
  4. unlink node_modules/react-native/scripts/third-party/glog-0.3.4/test-driver

I don't know why I had to go through all that

edit: aarg, for some reason I had a third-parties folder in my project root. Removing it solved my issues.