Android development entry-build Android Application Development Environment on Windows (SDK anroid 2.3 + eclipse3.6.2 + ADT-10.0.0)

Source: Internet
Author: User
Document directory
  • 1 JDK Installation
  • 2. SDK Installation
  • 3 install eclipse + ADT
1 JDK Installation

Http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jdk-6u25-windows-i586.exe

2. SDK Installation

Http://dl.google.com/android/android-sdk_r08-windows.zip

Step 1: Install package
Decompress the package and double-click the SDK manager.exe to install the package. By default, the package is installed for a long time.
An error occurs: a folder failed to be renamed or moved...
Solution:
1. Copy the tools directory to a new directory named "tools-Copy". In this case, the android-SDK-Windows directory contains two directories: Tools and tools-copy.
2. run Android. bat in the tools-copy directory, select install package, and update all (if the error still persists, restart the computer and perform this step ).
3. Close the SDK.
4. Run the SDK setup.exe again in the Android-SDK-Windows directory.

Step 2: Create AVD
Virtual Devices-> New:
Name: avd2.3
Target: Android 2.3.3-API level 10
Size: 96
Build in: default (wvga800)

 

Step 3: Test

Run CMD and CD to the Android-SDK-Windows/tools directory, and input “emulator.exe-AVD avd2.3-scale 0.8 to start the simulator for testing.

3 install eclipse + ADT

Eclipse official: http://www.eclipse.org/downloads/download.php? File =/Eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32.zip & url = http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32.zip&mirror_id=547

ADT official: http://dl.google.com/android/ADT-10.0.0.zip

 


3.1 install eclipse


Decompress eclipse-sdk-3.6.2-win32.zip without Installation

 

3.2 ADT plug-in Installation


Step 1: Add dependency links

Some packages are missing during ADT installation, causing installation errors, such:

Cannot complete the install because one or more required items cocould not be found.

Software being installed: Android development tools 10.0.0.v201102162101-104271 (COM. Android. Ide. Eclipse. ADT. feature. Group 10.0.0.v201102162101-104271)

Missing requirement: Android development tools 10.0.0.v201102162101-104271 (COM. android. IDE. eclipse. ADT. feature. group 10.0.0.v201102162101-104271) requires 'org. eclipse. GEF 0.0.0 'But it cocould not be found

 

Therefore, you need to add the following dependency link to available sites:

Eclipse GEF-http://download.eclipse.org/tools/gef/updates/releases/

Eclipse EMF-http://download.eclipse.org/modeling/emf/updates/releases/

Eclipse GMF http://download.eclipse.org/modeling/gmf/updates/releases

Eclipse WebTools-http://download.eclipse.org/webtools/updates/

Google eclipse Plugin-http://dl.google.com/eclipse/plugin/3.6

 

The add method is as follows (GEF is used as an example, and other classes are the same ):

Help
>Install new software> available sites> Add> location"

Http://download.eclipse.org/tools/gef/updates/releases /"

 

Step 2: Install ADT

Help
>Install new software>
 Add> archive,
Select ADT-10.0.0.zip; check Developer Tools and click Next.

 

Step 3: Test

1. Select the SDK location:Windows> preference> Android> SDK location

2. Run the SDK Demo:File> New> Android project> Create project from existing sample
; Samples select apidemo; build target select 2.3.3; finish.

3. After the compilation is passed, run the test.

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.