Last active
July 17, 2017 03:49
-
-
Save michaeljymsgutierrez/b5c2ce1e9e3e00061b63a14842f536ac to your computer and use it in GitHub Desktop.
IONIC-DEV_ENV_INSTALLATION
This file contains 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
# JAVA HOME | |
export JAVA_HOME=/home/vielsoft-dev-6/jdk1.8.0_91/ | |
export PATH=$JAVA_HOME/bin:$PATH | |
# ANDROID HOME | |
export ANDROID_HOME=$HOME/Android/Sdk | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
source ~/.bashrc | |
#ionic -v | |
2.2.2 | |
#cordova -v | |
6.5.0 | |
#npm -v | |
2.15.11 | |
#nodejs -v | |
v4.8.3 | |
#bower -v | |
1.8.0 | |
# FOR MAC OS - Fixed issue on missing gradle | |
cd ~/Library/Android/sdk | |
# download latest tools | |
curl -O https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip | |
# overwrite existing tools folder without prompting | |
unzip -o tools_r25.2.3-macosx.zip | |
# clean up | |
rm tools_r25.2.3-macosx.zip | |
# Fixed issue failed to build ios | |
ionic platform remove ios | |
ionic platform add ios@3.9.2 | |
ionic prepare ios | |
# Production / Release | |
keytool -genkey -v -keystore cgkey.keystore -alias cg -keyalg RSA -keysize 2048 -validity 10000 | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore cgkey.keystore android-release-unsigned.apk cg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment