How to install Ionic Framework
Install
msysgit
- You should select option “Use git from Windows command prompt”
Install
Node.js
Install
JDK
Download
ANT
Extract ANT to c:\development\ant
Install Android SDK
Android SDK
- Click “Download the bundle”
Add system varibole “JAVA_HOME” to …where youv installed jdk.. (
How to set Java_Home
)
Extract bundle to c:\development\bundle-adt…..zip (you can use for extraction
7-zip
)
Rename it to c:\development\bundle-adt
Add to PATH variable “;c:\development\bundle-adt\sdk\platform-tools;c:\development\bundle-adt\sdk\tools;c:\development\ant\bin;%JAVA_HOME%\bin”
click start → run → cmd
execute “npm install -g cordova ionic”
go to “C:\android\bundle-adt”
run “SDK Manager”
go to Tools menu → Manage AVDs
Click new
Write AVD Name: AVD1
Select device: Nexus 5
select skin: Skin with dynamic controls
click ok
Create example:
start cmd ( Start → run → cmd )
Go to development folder
ionic start myApp tabs
cd myApp
ionic platform add android
ionic build android
ionic emulate android