This chapter focuses on building the Android development environment. These include the Android application development environment, the Android NDK development environment, and the build of a cross-compilation environment. Its underlying development requires tools that include numerous programs and libraries, as well as Android applications and the Android NDK program to test the underlying programs like Linux drivers, Hal libraries, and so on. developing, testing, and debugging Linux drivers, HAL libraries require tools including JDK6 or above, Eclipse 3.4 or later, ADT (for developing Android apps), CDT (for developing Android NDK programs), Android SDK ; Android NDK; cross-compiling environment; Linux kernel source code; Android source code; the Serial tool for debugging the Development Board: Minicom. The next step is to install the JDK, Ubuntu Linux provides a simpler way to install the JDK, the Linux terminal to perform the following command to automatically install JDK6 (the process of executing the command requires Internet connection.
After executing the above command, you do not need to configure the PATH environment variable again. The 1th step in configuring the Android application development environment is to download and install the Android SDK. The Android SDK for Windows, Mac OS x and Linux platforms can be downloaded on the page below. ADT is the Eclipse plugin for developing Android applications. You can install the plugin online, or you can download an offline installation file to install ADT. Generally, cross compilers and related tools contain many executables and resources such as a large number of shared libraries and header files. A collection of these resources is called a cross-compilation environment.
An integrated cross-compilation environment can be found on the Internet, and the Android Ndk and Android source code also includes a cross-compilation environment.
Understanding the main points of this chapter is to introduce the configuration of the Android development environment in Ubuntu Linux environment.
Chapter II Experience