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.