Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter II Building Android development environment experience

Source: Internet
Author: User

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

    1. 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

Related Article

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.