Hello everyone, this is my andriod-development environment to build the installation steps; Nonsense, come on, move your hands.
First, pre-introduction
1. Install the JDK and configure the environment variables.
2. Install the SDK, virtual device.
second, the formal steps are as follows
--1. Installing the JDK
(1) First download the latest JDK, download path:Http://rj.baidu.com/soft/detail/14459.html?ald
(2) After the download is successful, run and perform the next step ()
(3) On the new page, record the installation path ( configuration environment variables need to use ): C:\Program Files (x86) \java\jdk1.8.0_121\, and then click "Next", 1; Go to the Installation progress bar, 2;
until you get to the prompt: * * * Successfully installed
(4) Then, we configure the "environment variable";
Start configuring environment variables, right-click My Computer---Properties---advanced system settings---advanced---environment variables
(5) In, select the "New ..." button of "system variable", then the "New System Variable" dialog box pops up;
A. Environment variable one
Enter "Java_home" in the "Variable name" text box
In the Variable Value text box, enter the installation path for the JDK (that is, the folder path for step 3), click the OK button,
B. Environment Variables Two
B.A. View the path variable in the system Variables options area, or create a new variable path if it does not exist, otherwise select the variable and click the Edit button
B.b. In the Edit environment variable, click "New (N)";
In the Variable Value text box "%java_home%\bin;" and "%java_home%\jre\bin;"
or "%java_home%\bin;"
Click the OK button,
C environment variable Three
C.A View the CLASSPATH variable in the system Variables options area, or create a new variable classpath if it does not exist, otherwise select the variable and click the Edit button
C.B add "%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;" At the beginning of the Variable Value text box.
Click the OK button,
* Note: If the environment variable is preceded by a numeric value, it must be separated by a semicolon (;).
(6) Verify: Start-run (Windows key +r) button, enter "CMD"-"JAVA", the following interface appears to prove that the JDK installation is complete;
--2. Installing the SDK
(1) First download the latest SDK, download path: HTTP://TOOLS.ANDROID-STUDIO.ORG/INDEX.PHP/SDK
Note: name android-sdk_r*.*.*-windows.zip
(2) After getting the zip file, unzip and run SDK Manager.exe, such as;
(3) Select the Android version that you want to install as needed, I choose the main Android version, then click "Install * packages" installation, such as.
(4) on the new interface, select Accept and follow all license content (accept All), then click "Install" and wait for the installation.
Note:SDK Manager.exe: responsible for downloading or updating the SDK package
AVD Manager.exe: responsible for creating the management virtual machine
on the Android SDK Manager Manager interface, "Installed" will appear after the package you selected to indicate that it is already installed.
(5) Then, we configure the ANDROID_SDK environment variables, page development steps and the JDK consistent;
A. Environment variable one
Android_home: The corresponding variable value is: C:\Users\YC\Desktop\ Learning Plan \monkey\android-sdk_r24.4.1-windows\android-sdk-windows (SDK installation path)
B. Environment Variables Two
Add two paths to the existing path: such as (figure 1); Specific settings such as (Fig. 2)
Figure 1
Figure 2
(6) Verification
A. Start-run (Windows key +r) button, enter "CMD"--"adb", the following configuration is complete and display the corresponding ADB version number;
B.1. Mobile phone with a computer, to confirm that the phone can be connected (can install app Bao and other software download mobile phone driver)
2. Start-run (Windows key +r) button, enter "CMD"--"ADB DEVICES", the following configuration is completed to show that the connection is successful, under.
here the Android test development environment has been installed ~
All of the Android Automation tests must first build a development environment.
After I update the knowledge of Appium, each step is in substance.
andriod-Development Environment Building (Windows System) #初学者