Mac installs Android SDK to launch appium Android automated test

Source: Internet
Author: User
Tags appium

Download the Android SDK first.

Switch to User home directory

CD ~/

Create configuration file touch. bash_profile

Open the configuration file. bash_profile

Add Content:

Export path= $PATH:/users/zhangminjie/documents/sdk/platform-tools:/users/zhangminjie/documents/sdk/tools

Export Android_home= "/USERS/ZHANGMINJIE/DOCUMENTS/SDK"

Export java_home=$ (/usr/libexec/java_home)

Update source. bash_profile

After execution

Appium-doctor

Running IOS Checks

? Xcode is installed At/library/developer/commandlinetools

? Xcode Command line Tools is installed.

? Devtoolssecurity is enabled.

? The Authorization DB is set up properly.

? Node Binary found At/usr/local/bin/node

? IOS Checks were successful.

Running Android Checks

? Android_home is set to "/USERS/ZHANGMINJIE/DOCUMENTS/SDK"

? Java_home is set to "/library/java/javavirtualmachines/jdk1.8.0_11.jdk/contents/home."

? ADB exists at/users/zhangminjie/documents/sdk/platform-tools/adb

? Android exists at/users/zhangminjie/documents/sdk/tools/android

? Emulator exists At/users/zhangminjie/documents/sdk/tools/emulator

? Android Checks were successful.

? All Checks were successful

Operating environment is built successfully

Mac installs Android SDK to launch appium Android automated test

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.