Chapter II Building an Android development environment

Source: Internet
Author: User

The second chapter mainly describes how to build the Android underlying development environment.

The first section tells readers android All the programs needed for the bottom-up development: jdk6 or later, eclipse 3.4 or later, adt Span style= "font-family: the song Body;" >, cdt , android SDK android NDK linux kernel source code, android source code, the serial tool for debugging the Development Board minicom

The second section describes How to install the JDK.

Download JDK tarball, unzip, configure environment variables.

Open profile:gedit/etc/profile

Input:export path=./developwe/jdk6/bin: $PATH Configuration Complete

The third section is The five steps to build an Android application development environment:

Install Android SDK: Download SDK file-unzip SDK file-install name Android The script file-

Install eclipse: Download the appropriate Eclipse Program and pay attention to the three or -bit version.

Installing ADT: loading ADT in Eclipse

Configure ADT: Enter the Android ADT installation directory into Eclipse

Create AVD:

The fourth section is the installation of the Android NDK development environment.

Download Android NDK: Download Development Kit, unzip, install.

Install CDT: Download the installation package, unzip, install.

Compiling Android NDK program

Import Android NDK

Configuring the Android NDK integrated development Environment

The fifth section is for the installation of the cross-compilation environment.

Download codesourcery, install.

This chapter is mainly about the Ubuntu Linux Environment of the Android Development environment configuration, basically are the download program, installation procedures, configuration procedures, inspection procedures four steps. After setting up the development environment, you can use Linux directly as the development platform for Android development .

Chapter II 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.