Ionic Android development environment, ionicandroid

Source: Internet
Author: User
Tags install node

Ionic Android development environment, ionicandroid

First, you need to download and install Node. js.

What is Node. js? Node. js is a platform based on Chrome JavaScript runtime. It is used to conveniently build fast and scalable network applications. Node. js uses event-driven, lightweight and efficient non-blocking I/O models, making it ideal for data-intensive real-time applications running on distributed devices. Node is a Javascript runtime environment ). In fact, it encapsulates the Google V8 engine. V8 cited worker to execute Javascript very quickly and with very good performance. Node optimizes some special use cases and provides an alternative API to make V8 run better in a non-browser environment.

Then, prepare to install cordova and ionic.

What is Cordova? Cordova provides a set of device-related APIs through which mobile apps can access native device functions, such as cameras and microphones, using JavaScript. Cordova also provides a unified set of JavaScript class libraries and native background Code related to the devices used by these class libraries. Cordova supports the following mobile operating systems: iOS, Android, ubuntu phone OS, Blackberry, Windows Phone, Palm WebOS, Bada, and Symbian.

What is Ionic? In the encyclopedia, Ionic is a development framework that focuses on WEB development technology and creates native applications similar to mobile phone platforms based on html5. AngularJS and Sass are bound. The purpose of this framework is to develop mobile apps from the web perspective. The PhoneGap-based compilation platform can be used to compile apps on various platforms.

Go to the DOS window and run the npm command to install them in the global environment.

npm install -g cordova
npm install -g ionic

Note: The installation of ionic may fail, so you need to [flip the wall] for installation.

After the ionic is installed, you can use the ionic command to create a project named myApp.

ionic start myApp tabs

Before that, you can select the path of the project to be created.

 

Related Article

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.