Created
April 20, 2018 02:28
-
-
Save fwfurtado/919a253accea3179fb0d42da4b2babca to your computer and use it in GitHub Desktop.
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 characters
#!/bin/bash | |
yarn config set registry http://192.168.22.100:8081/repository/npm-group/ | |
echo "registry=http://192.168.22.100:8081/repository/npm-group/" > ~/.npmrc | |
echo "export ANDROID_HOME=\$HOME/Android/Sdk" >> ~/.bashrc | |
echo "export PATH=\$PATH:\$ANDROID_HOME/tools" >> ~/.bashrc | |
echo "export PATH=\$PATH:\$ANDROID_HOME/platform-tools" >> ~/.bashrc | |
source ~/.bashrc | |
unzip -q /caelum/cursos/android-studio/android.zip -d ~ | |
unzip -q /caelum/cursos/android-studio/android-studio.zip -d ~ | |
echo "y" | android update sdk -u -a -t 22 | |
wget http://192.168.22.100:8081/repository/raw-files/avd/avd.tar.gz | |
tar -zxvf avd.tar.gz -C ~/.android | |
cd /home/cust7697/Android/Sdk/licenses | |
wget http://192.168.22.100:8081/repository/raw-files/android/android-sdk-license | |
emulator -avd nexus & | |
react-native init AwesomeProject | |
rm -f ~/.npmrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment