Android automated testing environment (2)

Source: Internet
Author: User

Android automated testing environment Setup 1. Android-sdk introduction to the development SDK (Software development kit) Software development kit. A collection of development tools used by software development engineers to build application software for specific software packages, software frameworks, hardware platforms, and operating systems. Android is a mobile development platform launched by google. Android-sdk is an Android-specific software development kit. The most common tools in Android-sdk are tools in the tools and Platformtools folders. Ii. Tool Installation Steps 1. android-sdk only needs to be decompressed (note that the decompression path cannot contain Chinese characters or spaces ), however, the running of android-sdk requires the support of Java Virtual Machine and JDK. Therefore, you must first install JDK when using android-sdk. Can JDK be installed on your computer? C: \ ProgramFiles \ Java path to check whether there are jdk and jre folders. If yes, it indicates that the JDK has been installed (it may be installed in other folders). Please download and install jdk on your own. 2. Install the Python compiler. python is used to support Monkeyrunner running. The python script compilation routine greatly simplifies the compilation of Monkeyrunner cases, and will help extend the automation function of monkeyrunner, download and install Python on your own. 3. Set the environment variable. Create a PATH in the user variable and add the installation paths of android-sdk, jdk, and python. For example: C: \ android-sdk \ tools, C: \ androidsdk \ platform-tools, C: \ Python27, C: \ ProgramFiles \ Java \ jdk1.6.0 _ 10 \ bin packages 4. Enter java-version, python, and monkeyrunner In the cmd window to check whether the installation is correct, as shown in: now the installation of the environment is complete. More articles will be provided to introduce how to perform Android automated testing.

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.