Android environment Configuration
Because android is developed in java, android applications are developed on the java platform. Before that, make sure that JDK (Java SE Development Kit) has been installed and configured ).
First, install and configure JDK. Download and install the JDK environment variables. You need to configure three variables here: JAVA_HOME, PATH, and CLASSPASS.
1. Configure JAVA_HOME. Step: Computer --> properties --> advanced system settings --> System Properties --> advanced --> environment variables. Add the JAVA_HOME variable to the system variable, for example:
2. The Path is the same as above. Find the Path in the system variable and double-click it to enter the editing page. Add % JAVA_HOME % \ bin after the variable value. % JAVA_HOME % \ jre \ bin, for example:
3. Create a New System variable named CLASSPATH. The variable value is.; % JAVA_HOME % \ lib \ tools. jar
4. Check whether the configuration is successful. Run the command and Enter cmd to the dos interface. Enter java-version to display the published version, which indicates that the configuration is successful.
Second, install android-SDK and configure the sdk environment variable: 1. As shown above, you must first create the variable ANDROID_SDK_HOME. The variable value is
2. Open path and configure % ANDROID_SDK_HOME %/tools; % ANDROID_SDK_HOME % \ platform-tools;
3. verify whether the verification is successful: Enter adb in cmd and the prompt is as follows:
Finally, download and configure Eclipse1. download and install 2. Download and configure the ADT, such:
3. Configure the SDK
Conclusion: the above steps can be used to complete the configuration of the android environment, so that we can start our android journey. Finally, the configuration steps are summarized as follows: 1. install and configure JDK2. install and configure SDT3. install and configure Eclipse