Android Deep Explore reading notes Chapter II

Source: Internet
Author: User

The second chapter is about buildingAndroidthe underlying development environment, which mainly includesAndroidapplication development environment,Android NDKdevelopment Environment and cross-compilation environment. The first introduction is development testing and debuggingLinuxDrive,HAlTools required by the program:JDK6or the above version;Eclipse3.4or the above version;ADT;CDT;ANDROIDSDK;Android NDk; cross-compiling environment;Linuxkernel source code;Androidsource code; Serial Tool for debuggingminicom. And then it's aboutJDKinstallation: First from the official website (http://www.oracle.com/technetwork/java/javaae/downloada/index.html) Direct DownloadJDK, and configure it. Direct DownloadJDKthe compressed package (tar.gz), and unzip it (can be any directory), and thenLinuxTerminal input#gedit/etc/profileOpen Profilefile is entered lastExport path=.:/ Developer/jdk6/bin:spathSetPATHenvironment variables. It is important to note thatPATHthere must be no spaces, characters, and so on between the equals sign and the equal sign and the dot. Save Profilefile after theLinuxTerminal input#source/etc/profileor#./dtc/profileRe-load Profilefiles can be. Then the buildingAndroidApplication development environment:1installationANDROIDSDK(You can downloadWindows,Mac OSXand theLinuxPlatform forANDROIDSDK). 2installationEclipseand InstallationADT(Online installationADTand offline installationADT)3EstablishAVD, downloadANDROIDNDK, installationCDT, withADTcan also be installed offline or online. 4command-line-style compilationANDROIDNDKprograms, importingAndroidThe NDK example, configurationAndroidthe NDK's integrated development environment. Finally, install the cross-compilation environment.

http://www.cnblogs.com/sam0304/

Android Deep Explore reading notes 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.