Building environment 64-bit, Win7
1. Install node. js
Download in official website: https://nodejs.org/
When you are finished downloading, double-click to install.
The installation succeeds, and the NPM is entered in cmd for validation, such as success.
2. Installing Appium
Download Appium installation package: Http://pan.baidu.com/s/1jGvAISu
This download is for version 1.4.0. Unzip, double click "Appium-installer.exe" to install
When the installation is complete, run Appium.exe. You will be prompted to download the ". NET Framework 4.5"
Baidu search Download ". NET Framework 4.5", after installation, then start Appium.exe, and can run successfully.
3. Setting Appium Environment variables
Append the bin directory of the Appium to the path system variable
C:\Program Files (x86) \appium\node_modules\.bin
4. Download JDK, set JDK environment variable
5. Install the Android SDK
The SDK can be shipped to run the Android emulator
When you're done downloading, set the environment variable
The result of my local directory is:
D:\android\android-sdk-windows
Set Environment variables below:
My Computer Right-click menu---> Properties---> Advanced---> Environment variables---> System variables-New ...
Variable name: android_home
Variable Value: D:\android\android-sdk-windows
Locate the PATH variable name, "edit" to add:
Variable name: PATH
Variable value:;%android_home%\platform-tools;%android_home%\tools
Double-click Launch SDK Manager.exe
Open the Windows command prompt and check the Appium environment with the "appium-doctor" command.
Original from the insect master http://www.cnblogs.com/fnng/p/4540731.html
Appium Environment Construction