Android + Eclipse + PhoneGap 3.4 The latest Android environment configuration. Some documents are integrated with online materials and have been installed successfully.

Source: Internet
Author: User

Guangzhou Huadu Forum plans to launch local service o2o applications. Rapid development of mobile apps and phonegap

My little station, http://www.w30.cn/

If you have any questions, you can leave a message in the group. If you can, contribute an ip Address :)

Phonegap Group Co., http://www.w30.cn/go/w30.

If you have any questions, join our QQ group: 64674997.

The following is my installation process

To build an environment, first download some installation packages:

(Before downloading, check whether the computer is 32-bit or 64-bit. Select the installation package)

Java environment JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html

I installed a 64-bit version. Download the version required by my system environment. The version is installed by default after the download. After the download is complete, Enter cmd and enter java to display the java version information, indicating that the installation is successful.

 

Start-Enter cmd-enter javac to display the javac version information, indicating that the installation is successful.

Javac cannot run

System variable-> New-> variable name: JAVA_HOME variable value: C: \ Program Files \ Java \ jdk1.6.0
System variable-> New-> variable name: CLASSPATH variable value:.; % JAVA_HOME % \ lib \ tools. jar
System variable-> edit-> variable name: Path is added at the beginning of the variable value: % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin

Start-Enter cmd-enter ant to display the javac version information, indicating that the installation is successful.

Install

1. Download and install ADT. Http://developer.android.com/sdk/index.html

 

2, Android compressed package: adt-bundle-windows-x86_64.

After decompression, enter the eclipsedirectory and run eclipse.exe.

1) Update the Android package first: select Window --------> Android SDK Manager

Select All, and click Install packages to add all packages.

 

 

2) configure the AVD Environment

There are two ways to configure the environment:

1. Use the interface to configure and enter the mode:

 

After opening, click New.

 

 

Entering http://nodejs.org/

Download node. js

System variable-> edit-> variable name: Path is added at the beginning of the variable value:

D: \ java \ nodejs \ note that java is your installation directory

 

Install phonegap3.4 and open cmd> enter npm install-g cordova
After successful installation

 

Cordova create hello com. example. hello "HelloWorld"
Cd hello
Cordova platform add android
Cordova build

 

Use eclipse to open and edit a project
File> New> Project> Android Project from Existing Code ADT

Install and delete a plug-in

Cordova plugin add org. apache. cordova. device plugin installation

Cordova plugin list plug-in list

Cordova plugin remove org. apache. cordova. device Delete plug-in

If you have any questions, join our QQ group: 64674997.

 

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.