Building the Android app development environment

Source: Internet
Author: User

First step: JDK (Java development Kit) installation

Procedure: Installation of JDK, Jdk-7u25-windows-i586.exe file in package, installed by default installation method.

After installation: 1) Add a java_home environment variable with the value: (JDK installation directory), 2) Add in Path (JDK installation directory/bin)

Test: Enter the java-version command under DOS

Step Two: Android SDK (software development Kit) installation

Procedure: Android SDK installation, in the package of Android SDK R20.0.3 Android4.1.1installer_ R20.0.3-windows.exe installation is complete, finally in the root directory of D, after the installation of the directory of all the files deleted, and then I made the SDK to put up. 1) Add the "D:\android-sdk\tools" and "D:\android-sdk\platform-tools" directories to the system's PATH environment variable.

Test: Enter EMULATOR-VERSION,ADB version under DOS; Open the SDK Manager.exe in the directory to see if it is successful.

Step Three: Android NDK (Native development Kit) installation

Process: Android NDK installation, in the package of Android-ndk-r8e-windows-x86.zip decompression, put into the D packing directory, the new environment variable ANDROID_NDK, the value is D:\ANDROID-NDK-R8, The ANDROID_NDK is then added to the PATH environment variable.

Test: Next Test the configuration is correct, open a CMD window, enter the directory "D:\android-ndk-r8\samples\

Hello-jni ", enter" Ndk-build "(note that there is no space in the middle) command to compile the HELLO-JNI project that comes with the Android NDK.

Fourth step: Eclipse Integrated development Environment Installation

Process: Eclipse installation, Eclipse-mobile-juno-sr1-win32.zip decompression in the package, recommended for D:\eclipse directory.

Test: Start

Fifth Step : CDT (c + + development tooling ), ADT (Android Development Tooling ) Plugins

Process: The CDT is already integrated in the Eclipse-mobile version, so just add ADT in.

Click the Eclipse menu item "Help->install New software, add->archive" to find the Adt-22.0.1.zip in our package. Select All, Finish.

Click the Eclipse menu item "Window->preferences", select the android list item, expand the Android list item, select NDK, select the installation location of the Android NDK at the right NDK locations, such as D:\ Android-ndk-r8.

Sixth step: Create AVD ( Android Virtual Device )

Android SDK provides Android Virtual Device Manager tool for easy access without real Android

In case of device Environment debug run Android program. Double-click Run D:\android-sdk-windows\ avd Manager.exe, click the "New" button, open the AVD creation dialog, enter the name of the AVD in the "name" field, such as enter "Android2.3.3", at Target Select the Android version to simulate, select "Android 2.3.3–api level", the SD Card size is specified as 256MB, the other options remain unchanged.

Building the Android app development environment

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.