Why write: The recent interview has been asked more, always have a kind of shot of the automated skills, while being picky while upgrading, good stimulation.
First, Environment construction
Required software: JDK, Android-sdk_r24.3.4-windows, Python: (V3.6 can also), appium:1.4.13.1, node.js:node-v4.4.7-x64, Appium-python-client
1. JDK
2, Android-sdk_r24.3.4-windows
First download the SDK http://www.androiddevtools.cn/I downloaded this:
Extract to disk after download,
There are only a few directories in the package.
Then I found out that I was not the same as other people, why do they have more catalogs than me? This is the directory of a big brother on the Internet.
Then I went to the top of the Web site, the original is missing this directory: Platform-tools
Note: It is not successful to configure environment variables after this directory is missing.
Configure Environment Variables: (Location: Desktop-Right-click Properties-Advanced system settings-environment variables)
System variable-NEW-variable name: android_home, Variable value: D:\adt\android-sdk-windows (your file location)
Set path, variable value:%android_home%\tools;%android_home%\platform-tools
Here%android_home%\tools refers to the previous set of the Android_home variable (indicating the computer file path), under the Tools directory;
%android_home%\platform-tools refers to the Platform-tools directory under the path.
In order to use later, it is best to verify that the settings are accurate: cmd, enter ADB (can see the current version number), and then enter android-h (Tools directory, if a bunch of text is OK) smile face, card the next update
3, Python: (V3.6 also can)
4, appium:1.4.13.1
5, Node.js:node-v4.4.7-x64
6, Appium-python-client
Disclaimer: This blog is only used to record some problems encountered in daily work with the accumulation of knowledge, the habit of training records, the equivalent of Notepad, if there is similar to a little Ann.
First Blog: Record Appium Environment building