Cordova Notes (i)

Source: Internet
Author: User
Tags install node

The cross-platform PhoneGap was acquired by Adobe, renamed Cordova, and is now an open source software under Apache. Some of the PhoneGap tutorials available on the Web are not applicable, and there are some issues to be aware of when learning to use the latest version of Cordova:

Website:

http://cordova.apache.org/

1. Use NPM to install the package, install node JS First, and then use NPM to install Cordova.

2.CLI Use the Cordoba command when creating Cordova projects.

3. After the project is created, such as adding an Android platform, the website does not provide a compiled jar for reference as before, but rather provides a project that cordovalib,android project references.

4. Default code generated by the system:

Loadurl (Launchurl);

Errors that are not defined by Launchurl are reported, and should be used:

Loadurl (Config.getstarturl ());

Do not know later will not modify the problem, it is unclear why the official generated code to leave this error, I opened the wrong way?

5. Now the latest version of the CLI 4.3.0, in the selection of the Andorid SDK to choose the high version of the API, or the system generated code some features are not supported, rather than the majority of documents mentioned in the use of 2.1 version can be, some features appear to be after Android 3.0.

6. System-generated Cordova, directly open the compilation report error, have not found the specific reason, may also be a version or other setup issues, did not find the official detailed instructions, what is the situation ah? Go online and get a compiled jar to use first.

Use the new version to toss, toss more than!

Cordova Notes (i)

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.