Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter II Summary

Source: Internet
Author: User

This chapter describes how to build an environment for Android's bottom-up development, mainly including the Android application development environment,theandroid NDK development environment, and the build-up of a cross-compilation environment. developing, testing, and debugging Linux drivers,HAL programs require a lot of tools, including:

JDK6or the above version,Eclipse3.4or the above version,ADT,CDT,Android NDK, cross-compilation environment,LinuxKernel source code and so on. InstallationJDKThere are several ways in whichUbuntu LinuxThe method provided is particularly simple, justLinuxcommands can be installed under the terminal and do not need to be reconfiguredPATHenvironment variables. InstallationAndroid SDKis configuredAndroidThe first step in the application development environment is as follows:

DownloadSDK, GetAndroid-sdk_r16_linux.tarfile, copy toLinuxa directory in the file system, and thenLinuxThe terminal enters the directory and extracts, after decompression, you will see a directory of more than oneAndroid-sdk-linuxCatalogue, enterAndroid-sdk-linux/toolsdirectory, find aAndroidscript file and execute, installEclipseIn fact, it's easier to find the right version to download and install. Next up isADTinstallation and configuration, establishingAVD. InstallationAndroid NDKThe development environment has several steps: DownloadAndroid NDK,installationCDT, the command-line method compilesAndroid NDKprograms, importingAndroid NDKFor example, configureAndroid NDKintegrated development environment. Install the cross-compilation environment according to the download path or directly through the CD-ROM installation. In general, this chapter mainly describes the development of some development needs of the environment, according to book introduction can be practical operation.

http://home.cnblogs.com/u/zivjeli/

Android Deep Exploration (Vol. 1) HAL and Driver Development Chapter II Summary

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.