The previous period of time to learn appium, today is ready to appium environment to build the process of writing, so that we can take a few detours. 1. Install the JDK and make the environment variable configuration environment variable configuration: Add Java_home variable, value: JDK installation path, such as: D:\Java\jdk1.7.0_45 add Classpath variable, value.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar Modify the path variable, plus this sentence%java_home%\bin; Check
JAVAThe environment is configured, enter the cmd command line, enter Java or JAVAC, you can see a lot of command prompt, indicating success.2. Installation
Android SDK (software development Kit)
You need to configure environment variables:
New Android_home D:\ProgramFiles (x86) \ANDROID\ANDROID-SDK
Added in path:%android_home%\platform-tools;%android_home%\tools;
3. Install node. js, which is installed by default and can change the installation path
added in path: D:\Program Files\nodejs;
after the installation is complete, check that the node version installation is successful: Enter cmd, enter node-v, you can see the version number, indicating success.
4. Install appium, configure environment variables
Need to configure environment variables
D:\Program Files (x86) \appium\node_modules\.bin;
5. Install ADT (
Android Developer Tools
), and configure environment variablesDirectly unzip, copy all files under the SDK directory to C:\Program files\android\android-sdk, overwriting all files.
Enter Appium-doctor to check if the installation environment for Appium is successful, such as:
Appium Environment Building (Java Edition)