Chapter II Building an Android development environment--reading notes

Source: Internet
Author: User

As the saying goes, 工欲善其事, its prerequisite, for Android Drive development, the first thing we have to do is to build an Android development environment, we first configure the Linux-driven development environment, then we have to configure the development of Android applications and Android NDK Program development Environment, in addition, there are some auxiliary tools to test the Linux drive and debug the Development Board.

First to install the JDK, download a good installation package, (http://www.oracle.com/technetwork/java/javase/downloads/index.html) using "TAR-ZXVF" decompression, assuming that the primary directory to extract " /home/szyzln/jdk1.7.0_51 "Enter the following command on the Linux terminal to set the PATH environment variable

# Gedit/etc/profile

#. /etc/profile

Echo $PATH

Then we can build the Android application development environment, the first step, install the Android SDK

Step two, install Eclipse

: http://developer.andriod.com/sdk/index.html, copy the download file to the directory in the Linux file system

# TAR-XVF Android-sdk_r16-linux.tar

Enter the Android-sdk-linux/tools directory and double-click the android script file to install it. Under Linux Terminal, execute the following command:

#gedit/etc/profile

Add the following code at the end of the profile file

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

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

": Wq" Save and close, enter the following command in the Linux terminal to execute the command in the profile:

Sourse/etc/profile

The third step is to install ADT and configure it.

Fourth step, configure the AVD,

Fifth step, download the Android NDK, install the CDT plugin, and configure the Android NDK integrated development Environment,

: http://eclipse.org/cdt/downloads.php,

Sixth step, install the cross-compilation environment

http://www.cnblogs.com/ligang1307/

Chapter II Building an Android development environment--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.