Android Deep Explore--hal and Driver Development Chapter Two

Source: Internet
Author: User

Chapter II: Building an Android development environment

This chapter explains how Android's underlying development environment is built, with an Android application development environment, a cross-compilation environment, and an NDK development environment.

Android low-level development primarily requires a Linux-powered development environment, configuration of Android applications, and an Android NDK development environment, as well as liunx drivers and debug boards for assistance and testing. The following tools are primarily required:

JDK6 or above version;

Eclipse3.4 or above version;

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;

For debugging development boards and serial tools: Minicom.

First you need to install the JDK and configure the path environment, and then build the Android application environment, because this book is mainly about writing and testing under Liunx, so only introduced the Ubuntu liunx Android application Development environment configuration, first need to install Android SDK and configuration, then install Eclipse, configure ADT in the installation, and finally build the AVD.

You will also need to install the Android NDK development environment to run as an Android operating program, but you will also need to install the Android SDK first. First you need to download the Android NDK, then install the CDT, command line to compile the Android NDK, import the Android Ndk example, and finally configure the Android NDK integrated development environment.

Finally, the installation of cross-compilation environment, on the Internet can find a better cross-compilation environment, if you need a better cross-compilation environment, you can find some integrated cross-compilation environment.

Android Deep Explore--hal and Driver Development Chapter Two

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.