Hi everyone!
I think that could be interesting for all if We make a tutorial for install Ionic on mac, with all steps, right?
I do not know if these are all steps. I have this steps:
-
Install Node.js ===> nodejs.org
-
Install Xcode ===> in App Store
-
Install ===>
xcode-select --install
-
Install Cordova, Ionic ===>
$sudo npm install cordova ionic ios-sim -g
-
Last Version of JAVA ===> Java SE Development Kit
-
Install Android sdk ===>
brew install android-sdk
6.1. If you need install HomeBrew:ruby -e “$(curl -fsSL -k https://raw.githubusercontent.com/Homebrew/install/master/install)”
-
You could install Android Studio here ===> Android Studio
-
Install Git ===> Git
-
Install Apache Ant ===>
brew install ant
-
Add Android sdk in your path ===> edit this file: “.bash_profile” - Add This info:
export PATH=${PATH}:/Applications/Android\ Studio.app/sdk/platform-tools:/Applications/Android\ Studio.app/sdk/tools
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=${JAVA_HOME}/bin:$PATH
export PATH=/usr/local/bin:$PATH
export JAVA_HOME=“/usr/libexec/java_home -v '1.8*'
”
export ANDROID_HOME=/usr/local/opt/android-sdk
10.Now you need restart your computer
11.Now, we can create a new project this this orders:
$ ionic start myTest blank
$ cd myTest
$ ionic platform add ios
$ ionic platform add android
-
If you have problems with “.plugman”, you need to run this command:
$ sudo chmod -R 777 ~/.plugman
Please, someone tell me if I do something wrong or missing something?
Thank you in advance.
Regards,
despotars