Chapter Two: Building an Android development environment.

Source: Internet
Author: User

Chapter II: Building an Android development environment

This chapter describes how to build an environment for Android's bottom-up development, mainly including the Android application development environment, the Android NDK development environment, and the build-up of a cross-compilation environment.

Prior to learning some of the Linux and Android environment related to the building, so the Android development environment has basically been built to understand.

The main steps of the Andorra environment are:

First, install the JDK

1.JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html (direct download of the official website), download the JDK's compression package directly.

2. Unzip it (can be extracted to any directory).

3 then enter the command (# Gedit/etc/profile) under the Linux terminal to open the profile file to set the PATH environment variable (export path=./developer/jdk6/bin: $PATH)

4. Save the profile file.

5. Re-install the profile file. Use any of the following two commands:

SOURCE command

# Source/etc/profile

Point (.) command

# . /etc/profile

Second, build an Android application development environment

1. Installing ANDROIDSDK

Download sdk,:http://developer.android.com/sdk/index.html

2. Install Eclipse

3. Install and configure ADT

4. Creating an AVD

Third, install the Android NDK development environment

1. Download Android NDK

2. Installing the CDT

3. Command-line compiling Android NDK program

4. Examples of importing Android NDK

5. Configure the Android NDK integrated development environment

Iv. Installation of cross-compilation environment

Chapter Two: Building an Android 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.