Build a Windows 7 Android Development Environment

Source: Internet
Author: User

From: http://blog.csdn.net/ooflywing/article/details/7799026

 

Not long ago, Google released the android 4.1 system Jelly Bean (jelly bean ). As a result, I began to develop Android programs.

Record your learning process and problems.

The first step of the android application is to build the development environment.

The following tools are required to build a development environment:

1 JDK

2 Android SDK

3. Eclipse

--------------------------------

1. JDK Installation

: Http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

The installation method and environment variable settings are not described in detail. There are many websites.

(I am using JDK 6 update32)

2. Install and download the android SDK

2.1 Download SDK tools

SDK:

Http://developer.android.com/sdk/index.html

Select the Windows version of the EXE installation package. I use installer_r00000.1-windows.exe.


2.2 SDK Installation

Install SDK tools. Try to install the SDK in a path without spaces or English letters.

E:/Android-SDK


2.3 select API download

Go to the installation directory in 2.2 and open SDK manger

Select the required API and click Install to download and install the API.

2.4 create an android Simulator

Open AVD manager in the 2.2 directory.

Select New to create a new simulator,

Enter name)

And select target (the Android system environment version of the created simulator)

Other content is free.

Click Create AVD.


2.5 start the android simulator.

After 2.4, enter the following interface, select the desired simulator, and [start]



※When launch is selected, the following error may occur, but the simulator cannot be started.

Panic: cocould not open c: \ User \ ooflywiung \. Android/AVD/2.3.3.ini

# For the corresponding method, see:

Android simulator cannot be enabled in Windows 7
Http://blog.csdn.net/ooflywing/article/details/7799350

3. Download and set eclipse

Eclipse: http://www.eclipse.org/downloads/

Select the classic version.

Decompress the downloaded eclipse.

Open eclipse and set:

Select

Help
> Install new software



Select Add in the upper-right corner.

Then enter: https://dl-ssl.google.com/android/eclipse/ in location


Click OK and wait for a while.

Select the Developer Tools to install, and then select next until finish (the last step has an accept to be selected ).


After you restart eclipse, the interface is shown as follows:

The one on the left is the SDK manager.

The one on the right is AVD manager.


Select File> New> Other to view the options for creating the android project.


# Sometimes you may need to set Android preferences for eclipse. If you have set the environment variable android_sdk_home, you do not need to set it. eclipse will find the SDK installation directory through android_sdk_home.

Use Windows> preferences in eclipse to set the SDK installation directory.



With the above configuration, the android development environment in Windows 7 is basically set up.

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.