Android + Eclipse + PhoneGap 3.4 Android Latest environment configuration, some data integration online information, has been successfully installed.

Source: Internet
Author: User
Tags android sdk manager

Guangzhou huadu Forum, intends to launch local Service application. Rapid development of mobile applications, PhoneGap

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

If there is any problem can also go to the group message, if possible, contribute an IP:)

PhoneGap Group Http://www.w30.cn/go/w30

If there is any problem can also join our QQ group: 64674997

Here is my installation process

Environment construction First, you need to download some installation packages:

(Note before downloading, the computer is 32-bit or 64-bit note Select the installation package)

Jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html of the Java environment

I installed a 64-bit, download the required version of your system environment, after downloading the default installation, after completion in the beginning-input cmd-input Java display Java version Information indicates that the installation has been successful

Start-Enter cmd-input JAVAC display Javac version information indicates that the installation was successful

Javac cannot run

System Variables -New -Variable Name:Java_homeVariable Value:C:\Program files\java\jdk1.6.0
System Variables -New -Variable Name:CLASSPATHVariable Value:.; %java_home%\lib;%java_home%\lib\tools.jar
System Variables -Edit -Variable Name:PathPrecede the value of the variable with the following:%java_home%\bin;%java_home%\jre\bin

Start-Enter cmd-input ant displays Javac version information indicating that the installation was successful

Then install

First, download and install ADT. Http://developer.android.com/sdk/index.html

Second, the Android compression package is: adt-bundle-windows-x86_64.

After unpacking, go to the Eclipse directory and run Eclipse.exe.

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

When all is checked, click Install packages and all the packages will be played.

2) Configuring the AVD environment

There are two ways of configuring the environment:

1, use the interface to configure, enter the way:

Once opened, click New to New.

Enter http://nodejs.org/

Download node. js

System Variables - Edit - Variable Name: Path Precede the value of the variable with the following:

D:\java\nodejs\ Note that Java is its own installation directory

Then install phonegap3.4 open cmd> input NPM install-g Cordova
After successful installation

Cordova Create Hello Com.example.hello "HelloWorld"
CD Hello
Cordova Platform Add Android
Cordova Build

To open and edit a project using the Eclipse tool
File>new>project>android>android Project from Existing Code ADT

Installing the Remove Plugin

Cordova Plugin Add org.apache.cordova.device device installation Plugin

Cordova Plugin List Plugin lists

Cordova Plugin Remove Org.apache.cordova.device device Delete Plugin

If there is any problem can also join our QQ group: 64674997

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.