Appium1.6.5 environment building
(2) installation process:
Install JDK and set environment variables
a. If you enter java-version on the command line as shown below, you can ignore this operation (java version 1.6 or above)
Attachments-2017-08-STL7JFMY59941b1ef244a.b. If you do not have the above operation, install: click install
Attachments-2017-08-y1NEkV2m59941b744f909. Complete the installation and configure the environment variables:
Step 1: right-click computer-> Properties-> Advanced system Settings-> Environment variables
Attachments-2017-08-LsIHIbIV59941bd8e6c09.
Step 2: create a new in the system variable
Variable name: JAVA_HOME
Variable value: C:\ Java\ jdk1.7.0_65
Attachments-2017-08-oBozTLSK59941c1e5cab2.
Step 3: find the Path editor in the system variable
Variable name: Path
Variable value: C:\ Java\ jdk1.7.0_65\ bin
Step 4: create a new in the system variable
Variable name: CLASSPATH
Variable value:% JAVA_HOME%lib;%JAVA_HOME%lib\ tools.jar
Step 5: check whether the configuration is successful:
Java-version under cmd
Attachments-2017-08-krqIzOiE59941c5ebd43e.
SDK table and environment variable configuration
The SDK free installation package already exists. You only need to configure the SDK environment variable.
Put the SDK file in C:/Java/sdk (you can also specify it yourself, and you can change the corresponding path of the configuration environment variable)
Step 1: right-click computer-> Properties-> Advanced system Settings-> Environment variables
Create a new environment variable name: ANDROID_HOME
Variable value: C:\ Java\ sdk
Attachments-2017-08-t39gdjcy59941f372afd6.
Step 2: add the path to the system variable Path:
% ANDROID_HOME%\ tools;%ANDROID_HOME%\ platform-tools
Enter adb under cmd and the display is as follows, and the configuration is correct:
Attachments-2017-08-ywvKhXHT59941f544f8a5.attachments-2017-08-lfNjEJEg59941f5199117.attachments-2017-08-9hxqJpYF59941f5e4a146.
Nodejs installation
Click to install directly:
Attachments-2017-08-FLHZiLfK59941f95ca31b.
Attachments-2017-08-7ZZkTf0e59941fa7603ac.
Click to install dotNetFx45_Full_x86 and you can attachments-2017-08-s0jKIAYk599420064ea5c.
Installation of Appium
Attachments-2017-08-YSVXdBo5599420c528231. After decompressing and placing C:\ hxt\, configure the environment variable C:\ hxt\ Appium1.6.5; directly in path (depending on the location of appium1.6.5)
Attachments-2017-08-OotKrR6Z599420a3cdaf6.
Enter appium under cmd to display as follows:
Attachments-2017-08-E7OmJwNy5994205bd1c8b.