-
-
Save staminaloops/02573a94cb59fdf2b1e1 to your computer and use it in GitHub Desktop.
Revisions
-
kosiara revised this gist
Sep 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Revision 09a0d98bebce-android > sudo react-native start (or > sudo react-native start > /dev/null 2>&1 & to start in the background) > adb reverse tcp:8081 tcp:8081 -
kosiara revised this gist
Sep 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Revision 09a0d98bebce-android # In order to run the Facebook react app you need to start the JS server on the PC and forward port 8081 to the phone # > sudo react-native start (or > react-native start > /dev/null 2>&1 & to start in the background) -
kosiara revised this gist
Sep 24, 2015 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,10 @@ sudo npm install -g react-native-cli sudo ln -s /usr/bin/nodejs /usr/bin/node cd /home/user/your/project/path react-native init AwesomeProject cd AwesomeProject react-native run-android ==================== if something goes wrong: ============================== check node.js version > node --version v0.10.25 @@ -33,7 +35,10 @@ if it's below 1.0.32 upgrade your adb tools Android Debug Bridge version 1.0.32 Revision 09a0d98bebce-android ====== "Unable to download JS bundle" =========================================== # # In order to run the Facebook react app you need to start the JS server on the PC and forward port 8081 to the phone # > react-native start (or -
kosiara revised this gist
Sep 24, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # author: # @Bartosz Kosarzycki # sudo apt-get install npm sudo npm install -g react-native-cli -
kosiara revised this gist
Sep 24, 2015 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #@Bartosz Kosarzycki sudo apt-get install npm sudo npm install -g react-native-cli @@ -41,5 +42,3 @@ to start in the background) (Note that this option is available on devices running android 5.0+ (API 21).!!!) -
kosiara revised this gist
Sep 23, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Revision 09a0d98bebce-android to start in the background) > adb reverse tcp:8081 tcp:8081 (Note that this option is available on devices running android 5.0+ (API 21).!!!) -
kosiara created this gist
Sep 23, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ sudo apt-get install npm sudo npm install -g react-native-cli sudo ln -s /usr/bin/nodejs /usr/bin/node cd /home/user/your/project/path react-native init AwesomeProject ================================================== check node.js version > node --version v0.10.25 if it's below 0.12 upgrade your node.js: sudo apt-get install -y curl curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - sudo apt-get install -y nodejs > node --version v0.12.7 ================================================= Check your adb version: adb version Android Debug Bridge version 1.0.31 if it's below 1.0.32 upgrade your adb tools > adb version Android Debug Bridge version 1.0.32 Revision 09a0d98bebce-android ================================================= > react-native start (or > react-native start > /dev/null 2>&1 & to start in the background) > adb reverse tcp:8081 tcp:8081