Build ANDROID+PHONEGAP Environment under Windows

Source: Internet
Author: User

With the 2014 company Tonglu Tour began, in a piece of laughter back to the ★★★★★ hotel. Waiting for the night's wine field, first write an opening language. Evening satiated after entering the text.

Sorry, boys, it's late. This is mainly built under Windows to build ANDROID+PHONEGAP environment.

Here's how to build the Android environment first:

Installation of 1.JDK:

A. Download the JDK first

B. The steps to install the JDK are as long as the next step.

C. Configuring Environment variables

The following environment variables are added to the system variables, such as environment variables, properties---

The Java_home value is: C:\Program files\java\jdk1.6.0_18 (you install the JDK directory, I installed on the C drive)

Classpath value:.; %java_home%\lib;%java_home%\bin;

Path:%java_home%\bin; Remember that multiple paths in an environment variable are passed;

Here the JDK environment configuration is complete. Let's take a look first, open the cmd window to execute the java-version here has done a small step.

2.installation of Eclipse:

1. Download the Eclipse ADT version without installing the ADT plugin yourself. Unzip to the specified directory and implement the installation. : Http://pan.baidu.com/s/1c0zTKmW

3.Android SDK Installation:

  Download Android-sdk_r05-windows.zip on Android developers and unzip to any path when download is complete. Run SDK Setup.exe, and click Available Packages. If you do not see an installable package, click Settings, select "Force https://..." in misc, and then click Available Packages. Copied directly from the blogs of our predecessors.

Select the SDK and its documentation or other packages that you want to install, click Installation Selected, Accept all, install Accepted to start downloading and installing the selected package new path value in the user variable is: Android The tools absolute path in the SDK (this machine is D:\AndroidDevelop\android-sdk-windows\tools).

  

Go to the cmd command window and check if the SDK is installed successfully. Run Android–h If you have output similar to the following, it indicates that the installation was successful:

The Android environment has finished playing.

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.