1, the underlying development tools include: JDk6 or above version; Eclipse3.4 or above; ADT (for developing Android apps), CDT (for developing ANDROIDNDK programs); Android sdk;android NDK; cross-compilation environment ; Android source; the serial tool for debugging the Development Board: Minicom.
2. How to install JDK under Linux
Create the installation directory, set up the installation path under/usr/java, and test the file under this path:
# Mkdir/usr/java
Jdk-6u11-linux-i586.bin This is a self-extracting file, installed on Linux as follows:
# chmod 755 Jdk-6u11-linux-i586.bin
#./jdk-6u11-linux-i586.bin (Note that this step must be in the directory where Jdk-6u11-linux-i586.bin is located)
After you follow the prompts to enter Yes, the JDK is decompressed.
A line of words appears: Do you aggree to the above license terms? [Yes or No]
The installer is asking if you would like to comply with the license agreement you have just seen. Of course agree, enter "Y" or "yes" to return.
#chmod 755./jdk-6u11-linux-i586-rpm
#./jdk-6u11-linux-i586-rpm. Bin
# RPM-IVH jdk-6u11-linux-i586-rpm appears one line: Do you aggreeto the above license terms? [Yes or No]
The installer is asking if you would like to comply with the license agreement you have just seen. Of course agree, enter "Y" or "yes" to return. Installing the software automatically installs the JDK into the/usr/java/directory.
#vi/etc/profile
Add the following content to the inside
Export java_home=/usr/java/jdk1.6.0_27
Export Java_bin=/usr/java/jdk1.6.0_27/bin
Export path= $PATH: $JAVA _home/bin
Exportclasspath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export Java_home java_bin PATH CLASSPATH
To make the/etc/profile file effective immediately after modification, you can use the following command:
# . /etc/profile
Attention:. and/etc/profile have spaces.
3. Installing ADT
There are two ways of online installation and offline installation. 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 currently ANDROIDSDK supported Android versions.
5. Install Android NDK Development environment
(1) To 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.
http://www.cnblogs.com/caoyutao/
Android Deep Explore--hal and Driver Development----Chapter II reading notes