Appium Environment Build 2-install Android simulator

Source: Internet
Author: User
Tags appium android sdk manager

1. Download JDK, set JDK environment variable

2. 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

On the menu bar of the Android SDK Manager, click "Tools"----> "Options ..." to set the relevant code, such as:

It then automatically updates the following content.

If none of the above, priority from: http://www.androiddevtools.cn/, download the SDK Build-tools

Install the appropriate Android version.

After installation, execute "AVD Manager.exe" to create the Android emulator

Click "Create ...."

Click "OK" in the AvD Manager window and click on the "Start ..." button to launch the Android emulator.

Because the new virtual machine has no physical keys, we can use the keyboard keys to operate the Android virtual machine.

Simulator keys

Keyboard keys

Back off

Esc

Menu

F1 or PAGE Up

Begin

F2 or PAGE Down

Call

F3

Hanging off

F4

power button

F7

Disable/Enable all networks

F8

Start tracking

F9

Stop tracking

F10

Rotate screen (Horizontal/vertical screen toggle)

Ctrl+f11

Home

HOME

Arrow keys Left/top/right/Bottom

Keypad 4/8/6/2

Direction Key Center Key

Numpad 5

Volume down

keypad minus sign (-)

Increase volume

Keypad plus SIGN (+)

Original from the insect master http://www.cnblogs.com/fnng/p/4560298.html

Appium Environment Build 2-install Android 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.