1. Preparatory workDownload Ant (packaged using), node. js (download package), Hbuilder (IDE, write code, Real Machine Debug), Android SDK (Android compilation)
2. Configure Environment variables:android_home D:\Program files\adt\sdk (corresponding SDK path)path;D: \program Files\apache-ant-1.9.4\bin (corresponding to ant down bin path)
3. Run command prompt (administrator) input
A. Install the Cordova and ionic packages into the global environment (available for command line use):
B. Accessyou want to create the path to the project:
CD E:\Study\Android\ionic\Project
E:
C.Create a project called MyApp that also has a tabs ( IoniC start <Project-name> <Optional-Template>)Optional template for Sidemenu slide, tabs bottom tab toggle, blank blanks):
Ionic Start myApp Tabs
D.MyApp enters the MyApp folder for the project name:
CD MYAPP
E.Add Android Platform:
F.Generate androidapk:
Ionic Build Android
G.simulate in an Android emulator or a real machine:
Ionic emulate Android
where F and g can be combined into:
Ionic run Android
the apk is generated and is emulated in the emulator or the real machine.
Easy Learning Ionic (i) Build the development environment and create the project