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