Android Deep Explore (Vol. 1) HAL with driver development
Chapter II Building an ANDROID development environment
Experience
This chapter mainly describes how to build an environment for Android's underlying development, including the Android application development environment, and the build-up of a cross-compilation environment.
The tools required to develop, test, and debug Linux drivers and HAL libraries include the following:
1. JDK6 or later
2. Eclipse3.4 or later
3. ADT (for developing Android apps)
4. CDT (for developing Android NDK programs)
5. Android SDK
6. Android NDK
7. Cross-compilation environment
8. Linux Kernel Source code
9. Android Source Code
- For debugging development boards and serial tools: minicom
The next step is to build an Android app development environment, the first thing to do is download and install the Android SDK address: http://developer.android.com/sdk/index.html
This is followed by the installation of ADT. ADT is an Eclipse plugin for developing Android apps that can be installed online, or you can download an offline installation file to install ADT. Address: http://developer.android.com/sdk/eclipse-adt.html#installing
It must also be configured after installation.
Due to the large number of Android versions, each Android version in the Android SDK has a corresponding AVD, which must be created before running the Android program. That is, the Android virtual device.
Also, since the Android NDK cannot run as an Android application alone, you must first install the Android SDK before using the Android NDK developer program. Address: http://developer.android.com/sdk/ndk/index.html
Finally, the installation of a cross-compilation environment, ARM uses a thin instruction set computer, which is different from the complex instruction set computer used by the CPU of the X86 architecture, so you need to install the cross-compilation environment.
The key describes the configuration of the Android development environment in the Ubuntu Linux environment. It is very useful for beginners.
http://www.cnblogs.com/xl9313/
Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter II Building Android development environment experience