(2) installation process:
- Installing the JDK and setting environment variables
A. Enter java-version on the command line as shown below, you can ignore this action (Java version 1.6 or more)
Attachments-2017-08-stl7jfmy59941b1ef244a.b. If no such operation is installed: Click Install
attachments-2017-08-y1nekv2m59941b744f909. Installation Complete configuration environment variables:
Step One: Right-click Computers, properties, advanced system settings, environment variables
Attachments-2017-08-lsihibiv59941bd8e6c09.
Step two: New in the system variable
Variable name: java_home
Variable Value: C:\Java\jdk1.7.0_65
Attachments-2017-08-oboztlsk59941c1e5cab2.
Step three: Find the path edit in the system variable
Variable name: Path
Variable Value: C:\Java\jdk1.7.0_65\bin
Step four: Create New in System variables
Variable name: CLASSPATH
Variable Value:%java_home%lib;%java_home%lib\tools.jar
Step 5: Check whether the configuration was successful:
CMD under Java-version
attachments-2017-08-krqizoie59941c5ebd43e.
- SDK Security table and environment variable configuration
SDK Free install package already exists, only need to configure SDK environment variable
The SDK file is placed in the C:/JAVA/SDK (also can be specified by itself, configure the environment variable corresponding path corresponding changes can be)
Step One: Right-click Computers, properties, advanced system settings, environment variables
New environment variable name: Android_home
Variable Value: C:\JAVA\SDK
Attachments-2017-08-t39gdjcy59941f372afd6.
Step Two: Add the path in the system variable path:
%android_home%\tools;%android_home%\platform-tools
Enter ADB under CMD, as shown below, then configure correctly:
Attachments-2017-08-ywvkhxht59941f544f8a5.attachments-2017-08-lfnjejeg59941f5199117.attachments-2017-08-9hxqjpyf59941f5e4 a146.
- Nodejs Installation
Click Install directly:
attachments-2017-08-flhzilfk59941f95ca31b.
Attachments-2017-08-7zzktf0e59941fa7603ac.
-
Dotnetfx45_full_x86 Installation Click Direct installation can be attachments-2017-08-s0jkiayk599420064ea5c.
- Installation of Appium
attachments-2017-08-ysvxdbo5599420c528231. After extracting the C:\hxt\, configure the environment variable C:\hxt\Appium1.6.5 directly in path (depending on where appium1.6.5 is located)
Attachments-2017-08-ootkrr6z599420a3cdaf6.
The input appium under CMD is shown below as success:
attachments-2017-08-e7omjwny5994205bd1c8b.
Appium1.6.5 Environment Construction