Search Google

Sunday 25 January 2015

ionic installation on windows 7 & 8

Installing Android and Cordova dependencies for Ionic Development 

Hassle Free Installationof Ionic Framework on Windows 7,8 Platform

1.     Java : install java
Go to   and install java
Preferable Location:
C:\Program Files\Java
Rename package to JDK(instead of jdk_version) and java will ask you for JRE location install in same folder
2.     Apache ant: install Apache ant binary distribution
apache-ant-1.9.4-bin binary distribution
Preferable Location:
3.     Nodejs : install nodejs
Go to and install nodejs
Preferable Location:
C:\Program Files\nodejs
4.     Android SDK: install Android SDK not Android Studio
Go to and download install SDK (Install Stand Alone SDK)
Preferable Location:
C:\Program Files\Android
Go to C:\Program Files\Android\android-sdk
Right click on SDK manager, and Run As Administarator
Otherwise go to command prompt and type “android”
It will show you SDK manager
5.     Cordova:
Open command prompt and type
npm install –g cordova
it will install cordova package on machine
6.     Ionic
Open command prompt  and type
npm install –g ionic
it will install ionic on system
Well Upto This You have Everything Installed on your machine
Now next part in adding and checking Environment variables for all above locations.
I just like to write this part separately because It will help you to Install everything without any problem and you can start building projects in ionic .
Environment variable:
Right click mycomputer
Advance system setting
Click on  New and Add as follow:
Variable name: ANDROID_HOME
Variable value: C:\Program Files\Android;C:\Program Files\Android\android-sdk\;C:\Program Files\Android\android-sdk\platforms;C:\Program Files\Android\android-sdk\platform-tools;C:\Program Files\Android\android-sdk\tools;
Click on  New and Add as follow:
Variable name: JAVA_HOME
Variable value: C:\Program Files\Java\jdk7 (please Note do not include semicolon
at the end of the line like “;”)
Then Edit Path and add Following values :
C:\Program Files\nodejs;C:\Program Files\nodejs\node_modules\npm;C:\Program Files\Android;C:\Program Files\Android\android-sdk;C:\Program Files\Android\android-sdk\platforms;C:\Program Files\Android\android-sdk\platform-tools;C:\Program Files\Android\android-sdk\tools;C:\Program Files\Android\android-sdk\platforms\android-19;C:\Program Files\Android\android-sdk\platforms;C:\Program Files\Android\android-sdk\platform-tools;C:\Program Files\Java\jdk7\bin;C:\Program Files\Android\android-sdk\tools;C:\apache-ant-1.9.4\bin;C:\Program Files\nodejs;C:\Program Files\Android\android-sdk\system-images;

No comments:

Post a Comment