Appium Environment Setup Step record (ii)-appium environment configuration and Sdkmanager_appium

Source: Internet
Author: User
Tags appium

The first article has successfully installed the Appium, and because the previous use of Monkeyrunne has been configured with a basic Android test development environment (JDK, SDK) and set the environment variables, but not enough.

This is mainly the configuration of environment variables: Android, Appium, and update Sdkmanager.

1. Add an Android environment variable

"My Computer" right-click menu---> Properties---> Advanced---> Environment variables---> System variable--> new.

Android_home value is: SDK Directory


Locate the path variable name-> edit add:

PATH value is;%android_home%\platform-tools;%android_home%\tools;

2. Configure Appium Environment variables

Add appium installation directory to path

Increase the appium\node_modules\.bin of the Appium installation directory to path

Verification: Appium can start appium,appium-doctor all Checks were successful successful


3..SDK Manager Installation Simulator

Sdk-sdk Manager.exe, double-click the program-tools-options ... Set the following (reference URL http://www.androiddevtools.cn/):


Start the update. (4.2 is all updated on the line, because Appium requires a minimum version of the phone or simulator 4.2). Wait a long time until the installation is complete.

There is also an easy way: If you can find the above installation package, you can download it and put it in the appropriate directory, can save a lot of time. (You can also save the content after the update can be stored directly in the directory next time)

Take 4.4.2 as an example, look at the corresponding directory relationship.

A.SDK Platform

Android Development required SDK platform, under platforms



B.samples for SDK

This is the sample code from the Android SDK, under the .../android-sdk-windows/samples folder



Candroid Framework Source Code

This is the Android Framework Source code, under the .../android-sdk-windows/sources folder


D.SDK System Images

This is the system image required when creating the emulator, under the .../android-sdk-windows/system-images folder


Cmd:android AVD creates a 4.4.2 version of the simulator.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.