Easy Learning Ionic (i) Build the development environment and create the project

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.