Build the environment for Android bottom-up development

Source: Internet
Author: User

This chapter mainly describes how to build the environment of Android bottom development, mainly including the Android application development environment, Android NDK development environment, a cross-compilation environment of the building.

The following tools are required to first develop, test, and debug the Linux driver, the HAL Library:

1.jdk6 or above version;

2.eclipse3.4 or above version;

3.ADT;

4.CDT;

5.Android SDK;

6.Android NDK;

7. Cross-compiling environment;

8.Linux kernel source code;

9.Android source code;

10. Serial tool for debugging the Development Board: Minicom.

With regard to the installation of JDK, we have learned in the Java course that we install the command to enter # Gedit/etc/profile in a Linux system to open the profile file to set the PATH environment variable. After opening the profile file, enter export path=.:/at the end of the file Developer/jdk6/bin: $PATH to modify environment variables.

Next, we started installing the Android SDK, and in the last semester we learned how to install the Android SDK in the Android app Development class, which is relatively simple, but after the installation is complete, you need to execute the following command on the Linux system: # Gedit/ Etc/profile Open the profile file and fill it in at the end of the profile file.

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

# Export PATH: $ANDROID _sdk_path/platform-tools: $PATH

Save and close the profile file and enter Sourse/etc/profile in the Linux terminal to execute the commands in the profile.

Build the environment for Android bottom-up development

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.