The record about their own process of installation Appium

Raiders along with the installation of other chiefs, step by step come. Encountered some problems, also have been resolved ~

Things need to be prepared:

1.JDK1.8

2.Andriod SDK

3.Node.js

4.Python

5.Appium-python-client

6.Appium

 

A, JDK download the official website address: https://www.oracle.com/technetwork/java/javase/downloads/index.html  depending on the version and the operating system itself needs to download, download may be slow or fail, you need to turn wall. Or directly Baidu corresponding JDK version download, here I am - a lot of resources win64 operating system

 

After the download is good fool installation, you can change about yourself installation path of JDK and JRE, to facilitate their easy to find a good mind

Configuration environment variable After installation is complete, a total of three:

1. Create a new system variable JAVA_HOME: D: \ Java \ jdk1.8.0_231; (where the path is based on their path to the JDK installation)

2. Create a new system variable CLASS_PATH:;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar; (note here is a front oh.)

3. Find the Path variable from the System variables: Path:% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin;

 Environment variables configured, we have to verify if successful, open CMD, enter Java

 

 

 Enter javac verify

 

As shown, configured our environment. Here I met a problem, normal input Java, javac input display is not an internal command. At first I entered the new variable name is "CLASSPATH", later changed to "CLASS_PATH" like, I do not know what causes it

 

Second, take us to the next to get ready to install the Android SDK

SDK also need to download over the wall, not over the wall of the small partners can use this URL https://www.androiddevtools.cn/ , which is the site of a download is very convenient, according to their own operating system, download Jiuhaola ~

 

Downloaded unzip it, double-click the SDK Manager

 

 Need to use the system to choose their own version of Android, you can click to install it. Here I chose Android9, according to their needs just fine

 

 

Then we configure the SDK environment variables

1. New System Variable ANDROID_HOME: D: \ ANDROID \ android-sdk-windows (according to their SDK installation path)

2. Add the following two system variable Path folder path Path: D: \ ANDROID \ android-sdk-windows \ tools; D: \ ANDROID \ android-sdk-windows \ platform-tools; (according to their installation path come oh)

 

Next verify, open CMD input adb, displays the version number and some other information. Try connecting the phone can connect, the adb input devices, displays the phone's serial number, followed by a state of the devices, it will be described OK (lazy here, do not want the figure)

 

Third, download Node.js website: https://nodejs.org/en/   directly choose the download just fine

 

 Download Well, well, install it, and finally add the path to a Node in the system variable Path: D: \ ANDROID \ nodejs \; (according to their own installation path like)

 

Finally, to test open CMD, enter npm, if it successfully shown. PS: Before viewing other bloggers installation Raiders is not configured Node environment, but I CMD validate a bit, is not an internal command to display, add the variables we go.

 

 Here to write a half, and the remaining one in the lower half to write it. I did not expect it would be so _ ( 'ཀ `" ∠) _

 

Guess you like

Origin www.cnblogs.com/whale-sama/p/11698827.html