Android cainiao Study Notes 1 ---- environment setup, android1 ----
Step 1 install and configure JDK:
1. Download and install JDK:
Select and install the appropriate JDK version based on your system conditions.
Current System: 64-bit WIN8 with 8 GB memory
If you select Java SE 8u45, that is, JDK 1.8.0 _ 45, you can experience various new features of JDK 8.
JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html
After the download is complete, double-click the JDK executable file and install it directly. During the installation process, you can change the installation path.
My current installation path: e: \ software \ java \ jdk1.8.0 _ 45
2. Configure the JDK path:
After the installation is complete, you need to configure the relevant environment variables
You can directly append the bin directory under the jdk installation path to the path variable, for example, E: \ software \ java \ jdk1.8.0 _ 45 \ bin. Note: in winwdos, the paths are separated by semicolons.
Or create a JAVA_HOME environment variable whose value is set to the jdk installation directory, which is:
E: \ software \ java \ jdk1.8.0 _ 45
Add a reference to this variable in the path variable, that is, add % JAVA_HOME % to the path value.
I chose JAVA_HOME, which is relatively flexible and easy to modify.
Run cmd to check whether the configuration is successful. Enter java-version to view the jdk and java Virtual Machine versions.
Step 2 download the android integrated development environment: adt-bundle
Select a version based on your system
My current choice is: adt-bundle-windows-x86_64-20140702.zip
: Http://pan.baidu.com/s/1gddD1CJ
Unzip the downloaded package.
Step 3 configure adt-bundle:
You can see eclipse, sdk, and so on in the directory decompressed by adt-bundle.
Go to the eclipse directory and start eclipse
Window-> preferences-> android-> SDK location
Its value is set to: sdk directory, my is E: \ software \ adt-bundle-windows-x86_64-20140702 \ sdk
Create a directory to store Virtual Device Files. For example, I created a my_avd directory under the directory adt-bundle.
Create a new system environment variable ANDROID_SDK_HOME. Set the value to the directory you just created.
The new virtual machine files will be stored in this directory.
Now, the android development environment is configured.