Android Deep explore HAL and Driver Development Chapter II

Source: Internet
Author: User

Android Deep Explore HAL with driver development

Chapter II

Build an Android Development Environment

Reading notes

A. the tools needed for Android bottom-up development

1, JDK6 or above version

2, Eclipse3.4 or above version

3. ADT(for Android applications)

4. CDT(used to develop Android NDK program)

5. Android SDK

6. Android NDK

7. Cross-compilation environment

8. Linux Kernel source code

9. Android Source Code

10. Serial Tool for debugging Development Board:minicom

Ii. installation of JDK

After downloading the JDK in the terminal input

# Gedit/etc/profile

After opening the profile, enter it at the end

Export Path=. : /developer/jdk6/bin : $PATH

Reload profile

# Source/etc/profile

You can use the echo $PATH command to view The value of the PATH environment variable.

Iii. building an Android application development environment

1. Install the Android SDK

Unzip Android_r16-linux.tar file:# TAR_XVF Android-sdk_r16-linux.tar

Enter the Android-sdk-linux/tools directory to execute the android script file to start installing the Android SDK .

Install the <android SDK installation directory >/platfrom-tools and <android SDK installation directory The >/tools directory joins the PATH environment variable:

# Gedit/etc/prodile

# Export Android_sdk_path=/sdk/android/android-sdk-linux

# Export path=.: $ANDROID _sdk_path/platfrom-tools: $PATH

Save to execute the next command:

Sourse/etc/profile

2. Install Eclipse

Two decompression file statements (zip format and tar.gz format)

ZIP Format File decompression statement:

Unzip Eclipse-sdk-win32-x86_64.zip

That is, unzip to unzip the file name

tar.gz Format File decompression statement:

Tar zxvf eclipse-jee-indigo-sr1-linux-gtk-x86_64.tar.gz

The tar zxvf plus the file name to unzip

3. Installing ADT

Start Eclipse , click "Help">"Install New software", Click "Add" in the name text box and enter "ADT" in the location Enter Https://dl-ssl.google.com/android/eclipse in the text box .

4. Configuring ADT

In eclipse click window > " perfernce ", click android sdk location " text box, enter android SDK install directory, click apple button, the current Span style= "FONT-FAMILY:CALIBRI;" >android SDK supported android Span style= "font-family: the song Body;" > versions are listed here.

5. Establishment of AVD

Before you run an Android application, you must create an AVD.

Iv. installation of the Android NDK Development Environment

The Android NDK cannot be run separately as an Android app and must be installed before using the android SDK.

V. Install the cross-compilation environment

Download and install directly

Vi. Summary

This chapter learns the configuration of the Android development environment in the Ubuntu Linux Environment .

http://www.cnblogs.com/qwhw/

Android Deep explore HAL and Driver Development Chapter II

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.