Article Writing time: 2017/04/05
First, the package is as follows:
1, JDK 1.8 (JAVA development and operation of bad environment)
2. Eclipse (IDE tools)
3. ADT23.0 (Eclipse development Android plugin)
4. SDK24 (Android development environment)
5. NDK R10 (NDK development environment)
Download link Http://pan.baidu.com/s/1nvjYfnr
Second, installation steps
1.JDK Installation
A. Create a new Folder "Java_jdk" (mkdir/home/"user name"/JAVA_JDK) under/home/"User name"
B. Unzip the jdk1.8 to the/home/"user name"/java_jdk folder
C. Environment variable configuration, vim ~/.BASHRC, input "I" into the insert mode, enter the file to insert the following content
Export java_home=/home/User name/java_jdk/jdk1.8.0_121
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin:${jre_home}/bin: $PATH
Click "ESC" to enter the command mode, enter ": Wq" return to save exit
(can also be edited with Gedit ~/.BASHRC editor)
Enter source ~/.BASHRC Update environment variable
Input Java-version If a version message appears stating that the JDK environment has been successfully built
Specifically, refer to
2.eclipse Installation
Eclise decompression can be
3. Extract ADT
4. Unzip the SDK
5. Unzip the NDK
6. Installing ADT
A. Open eclipse (if it appears
A Java Runtime Environment (JRE) or Java development Kit (JDK)
Must is available in order to run Eclipse. No Java Virtual Machine error, the cause may be as follows 1.JDK environment variable settings error, Eclipse Unrecognized, workaround, view environment variable configuration, reconfigure
2. Configure the good and bad variables but the source ~/.BASHRC Update 3 is not updated. If you double-click through the interface, you need to restart your computer for the environment variable to take effect.
3. Change of user name
), click Help--Install new Software-->add-->loca--Select the ADT folder, OK-->select all--> cancel Contact all U Pdate Select (otherwise always updated, particularly slow, not recommended, Europe may also appear version does not correspond to a series of problems),--> next--- next->finish
After installation, restart Eclipse, there will be some SDK can not find the prompt box, close to
7. Installing the SDK
Open Eclise Click Windows-->preference-->android-->sdk loaction Select the folder where the SDK is located
8.NDK
Open Eclise Click Windows-->preference-->android-->ndk loaction Select the NDK folder
Complete
Ubuntu 12.04 32-bit eclipse Android SDK NDK Development environment Setup