Android Deep Exploration Chapter II

Source: Internet
Author: User

The first development in Android is to test and debug Linux drivers, and the HAL Library requires (1) JDK6 or later (2) Eclipse3.4 or later (3) ADT (4) CDT (5) Android SDK (6) Android NDK (7) Cross-compilation environment (8) Linux kernel source code (9) Android source code (10) Serial tool for debugging the Development Board: Minicom. The first step is to configure the JDK environment, set the PATH variable, open the profile file, and enter export path=.:/ Developer/jdk6/bin: $PATH, after saving the file, reload the profile in terminal input. SOURCE command #source/etc/profile. Second step to build Android app development environment: Download install Android SDK, execute in Linux on terminal
# Gedit/etc/profile,
#exprot Android_sdk_path=/sdk/android/android-sdk-linux

#export path=.: $ANDROID _sdk_path/platform-tools: $PATH

Sourse/etc/profile
3rd Step install Eclipse, find the appropriate version of the download, run the compression command under terminal.
Next, ADT is installed in two ways, both online and offline. Install online, click "Help>install New Software", enter "Http://dl-ssl.google.com/android/eclipse" in the Location text box and click the OK button. Offline installation, download the offline installation package, and install it online almost.

4. Configure ADT, click Window<preferences in Eclipse, click the Android node on the left, and then click the Apple button to list the Android versions supported by the current Android SDK.

5 Installing the Android NDK development environment

1, download the Android NDK, you can add the Android NDK installation directory to the PATH environment variable

2. Installing CDT,CDT is a plug-in for developing a/C + + program in Eclipse, installed to enable both Android apps and Android NDK programs to be available in eclipse.

Android Deep Exploration 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.