Computer/React-Native
Ubuntu React-Native 설치
천류성
2018. 1. 15. 13:02
출처 : https://www.youtube.com/watch?v=0xKrHZNudEQ
0. sudo apt-get install python-dev
1. sudo apt-get install automake
2. sudo apt-get install autoconf
3. git clone https://github.com/facebook/watchman.git
4. cd watchman
5. ./autogen.sh
5.1 your system lacks libtoolize ---> $sudo apt-get install libtool
6. ./configure
7. make
7.1 ContentHash.cpp:13:25: fatal error: openssl/sha.h: ---> sudo apt-get install libssl-dev
7.2 undefined reference to `SHA1_Init' ---> ./configure 이후 다시 make
8. sudo npm install -g flow-bin
9. react-native init Project
10. cd Project
11. run android emulator
12. react-native run-android
12.1 server not found error ---> npm start
12.2 redraw