This chapter mainly describes how to build an Android low-level development environment, mainly including building an Android application development environment, build the Android NDK development environment and build a cross-compilation environment.
(1) Tools to develop, test, and debug Linux drivers and HAL libraries:
DK6 or above, Eclipse version 3.4 or later;
ADT (for developing Android apps);
CDT (for the development of the Android NDK program);
Android sdk;android NDK;
Cross-compiling environment; Linux kernel source code;
Android source code;
Serial tool for debugging the Development Board: minicom
(2) Installing the JDK,
① download the JDK directly on the official website and configure it.
②ubuntu Linux provides an easier way to install the JDK, and the following commands are installed on the Linux terminal to automatically install JDK6 (the Internet is required to execute the command.
(3) Build an Android application development environment
① Installing the Android SDK
② Installing eclipse
③ Installing ADT
④ Configuring ADT
(4) Installing the Android NDK development environment
① download Android NDK
② Installing the CDT
③ command line to compile Android ND program
④ example of importing Android NDK
⑤ Configuring an integrated development environment for Android NDK
(5) Installing the cross-compilation environment
Summarize:
This article introduces the configuration of the Android development environment in Ubuntu Linux environment, downloads the required tools and needs to be installed sequentially, and finally needs to be tested to determine if the environment is well-built.
Second, build the Android development environment reading notes