Android Deep Exploration (Volume I) Chapter II reading notes

Source: Internet
Author: User

The second chapter is about building an Android development environment. We first need to know what tools are needed for Android's underlying development. The tools you need to develop, test, and debug Linux drivers, HAL Libraries are: JDK6 or later, Eclipse3.4 or later, ADT, CDT, Android SDK, Android NDK, cross-compilation environment, Linux kernel source code, Android source code, minicom.

After defining the development tools, we need to build the development environment.

Install the JDK. Method One: Download the JDK via the official website and configure it. Configuration requires that the PATH environment variable be set in the profile file. The process is: 1, # gedit/etc/profile 2, Export path=.       :/developer/jdk6/bin: $PATH 3, save profile 4, re-load profile:# source/etc/profile; # . /etc/profile. Method Two: UBUNTN Linux operating system, the terminal Input command can be automatically installed JDK6, and no longer configure the path configuration environment.

Build an Android application development environment. One: 1, download and install the Android SDK. 2. Unzip the package: Copy the downloaded Android-sdk_rl6-linux.tar file to a directory on the Linux file system, then open the terminal from that directory and enter the command: # TAR-XVF Android-sdk_rl6-linux.tar. 3. Enter the extracted directory to execute the Android script file. 4. Add the Platform-tools and tools directories to the PATH environment variable. Two: Install the most appropriate eclipse. Third, install ADT, four configuration ADT. V. Establishment of an AVD.

Install the Android NDK development environment. One: Download Android NDK. Two: Install CDT. Third, the command line to compile the Android NDK program. Iv. examples of importing the Android NDK. V. Configure the NDK's integrated development environment.

Installs the cross-compilation environment.

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

Android Deep Exploration (Volume I) Chapter II reading notes

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.