Cordova Installing and creating platform projects

Source: Internet
Author: User

1. First download node. js

Official website: https://nodejs.org/en/under the landlord is v.7.1.0

Direct default installation, all the way next. When you are finished Windows+r open the Run window and enter CMD.

Then enter NODE-V to detect if the installation was successful (-V does not-verson)

After success, NPM will automatically install, npm-v continue to detect, the version indicates the installation is successful.

2. Then the play comes up. Install Cordova

First open an agent or the speed you will be crazy;

In the Command Line window, enter: NPM config--global set Registry http://registry.cnpmjs.org

In the Command Line window, enter: NPM install-g Cordova

Then wait to download the installation.

Then Cordova-v detection is successful

Here you create an app named Firstapp,id Com.cycle.first, placed under the first folder:

Create command: Cordova Create first COM.CYCLE.FIRSTAPP firstapp-d

Equipped with Android (iOS other can be replaced on Android, see what you need) Cordova platform add Android

And then it's a long wait

Note: If the DOM was previously turned off, please re-add the agent

Then don't use the DOM to show if it's successful, as long as you have Android on your platforms directory.

Appears y/n direct n does not send information to the company.

Simple to build up, Bo master computer originally has SDK and ADT here is not much, if there is demand please private chat.

Turn on Eclipse and Webstorm to run this project at the same time, modify the data in index.html under the corresponding assert, remember ctrl+s save it, and the other IDE will change dynamically.

Cordova Installing and creating platform projects

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.