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