Mobile Client Development-phongap

Source: Internet
Author: User

The most troublesome is the environment to build list:
Java SDK 1.6+ recommended 1.8+
NodeJS (NPM,CNPM)
NPM Global Installation
NPM install -G Cordova

Set system variable
Computer-Properties-Advanced system settings

System variable path add:
    D:\Program files\adt\sdk\tools;
    D:\Program Files\adt\sdk\platform-tools;
    D:\Program files\adt\sdk\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\bin
     C:\Program Files (x86) \java\jdk1.6.0_10\bin;    
    c:\program files ( x86) \java\jdk1.6.0_10\jre\bin;
    
New Java_home, set value to JAVA SDK root:

C:\Program Files (x86) \java\jdk1.6.0_10\
 & nbsp   Environment variables add  ;%java_home%\bin;%java_home%\jre\bin
    
Note the use of '; ' between environment variables Separate

New Project
1. Determine the project path
Cordova Create myApp
Enter project
Cordova Platform add Android
4. Open and edit the project using the ADT tool
File>new>project>android>android project from Existing Code

5. Structure understanding of Projects
6. Start Development

Mobile Client Development-phongap

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.