Appium + Python + Windows10 Android Building Strategy
First step: Install node. js:https://nodejs.org/en/download/
Download Complete Direct Installation complete
Step Two: Check if node. js is installed to run cmdsuccessfully, enter Node -v, and the installation will display the following information:
Step Three: Configure the Android SDK Environment
1. Installing the Java environment:http://www.oracle.com/technetwork/java/javase/downloads/ jdk8-downloads-2133151.html , download complete direct default installation is complete
2. Configure the environment variable configuration for Java
Path Configuration:
java_home Configuration:
CLASSPATH Configuration:
3. Verify the installation is successful, open the cmd command input ; java–version
Fourth step: Build Android SDK environment, download ADT bundle,ADT bundle contains Eclipse,ADT plugin,SDK Tools, the IDEis already integrated, and the Jdk can be installed to begin development and use.
ADT Bundle :http://www.androiddevtools.cn/
After the download is completed, the successful decompression is as follows:
Fifth step: Configure the Android SDK Environment variables:
android_home:
Path:platform-tools and the Build-tools environment variables added:
Sixth step: Install the mobile phone driver and connect Android Real machine: After thePC and mobile phone is connected successfully, open CMD input adb devices; If success is displayed as an effect.
Seventh Step: Install Appium : https://bitbucket.org/appium/appium.app/downloads/
Download complete default installation complete
Eighth step: Configure the node_modules of the Appium installation to the path environment variable
Nineth Step: Check whether the Appium environment is successful, open the CMD input:appium-doctor
Tenth step:Appium settings:
11th Step:python script edit into Run
Appium + Python + WINDOWS10 Android Building strategy