Android Deep Explore (Vol. 1) HAL and Driver Development Chapter II build Android development environment reading notes

Source: Internet
Author: User

Android Deep Exploration ( volume 1) HAL and drive development Chapter II Build the Android development environment reading notes

This chapter focuses on setting up an Android development environment under Ubuntu Linux.

1, JDK: Download the compressed package from the official website, and unzip it.

Gedit Etc/profile and set the PATH environment variable, remember path.

2, build the Android application development environment.

Installing the Android SDK

Install Eclipse

Installing ADT

Configuring ADT

Create AVD

This step is to install the Android SDK, which is similar to the steps for installing ADT under the Windows operating system. Download the Android version of the Android SDK that you need to use, and after installing Eclipse, integrate the ADT plugin into eclipse. and associate ADT with the SDK. After implementing these, create a new AVD simulator that simulates an Android phone. It is used when debugging the application.

3, install the Android NDK development environment.

Download Android NDK

Installing the CDT

Command line compile Android NDK program

Configuring an integrated development environment for the Android NDK

Android NDK needs to have Android SDK to use, it is not a standalone application. This environment is easier to build than the Android SDK.

4. Install cross-compilation environment

The CPU of the X86 architecture employs a complex instruction set computer, and the CPU of the ARM architecture uses a thin instruction set computer. In order to develop a program that runs on an arm architecture on a X86 architecture, a collection of resources is required, which is a cross-compilation environment. A cross-compilation environment is a program that compiles on a schema that can be run on a B schema.

Android Deep Explore (Vol. 1) HAL and Driver Development Chapter II build Android development environment reading notes

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.