Monkeyrunner Environment Construction

Source: Internet
Author: User

To the Android World Small white person son, get a monkeyrunner environment Chi began popping of the cost of the most days of hard, no way, because is really ignorant of this aspect, the noun is a Baidu Cai Lue understand one or two, since so hard to fix, how also have to record down, lest next time won't.

Monkeyrunner is the Android SDK comes with the test tool, build monkeyrunner environment is actually need to install an Android SDK, of course, have to have Java environment JDK and Python environment, here only to record the history of the tears I installed the SDK today

1. Installing the SDK

First spit Groove down the Detour, go online search monkeyrunner environment building, give a bunch of documents are mentioned in the Android official website, http://developer.android.com/sdk/index.html# Download, OK, because I am really not good at FQ, exhausted all kinds of methods can not be downloaded successfully, after the 360 software Butler search Android SDK, downloaded an SDK tools for Android Studio, no culture really scary, After installation, enter the tools directory input Monkeyrunner, prompt the Use SDK Manager and check if Android SDK Platform-tools is installed, online search answer, say is no add ring Environment variables, try to add environmental variables only found in the installation directory of the basic wood platform-tools, how broken, how broken, forum, Q Group, all kinds of consulting, finally understand, SDK package is mistaken, although did not understand why wrong, but ultimately is on the right path

Baidu search online to download Google Android SDK, download and unzip, there are three folders, because JDK and eclipse I have, so directly copy the SDK to the directory I specified

2. Open cmd, enter Sdk\tools directory, enter Monkeyrunner,ok

3. Configure Environment variables

Now it's okay to enter Monkeyrunner in the tools directory, but leaving this directory will prompt you to not find the command, so you can add an environment variable to solve the problem.

environment variable-system variable, add a new variable name Android, variable value D:\Program files\android\sdk\tools;d:\program files\android\sdk\platform-tools;

Open the PATH variable in the system variable and append the above two paths to the back save

4. Open cmd, enter Monkeyrunner,ok in current directory

Monkeyrunner Environment Construction

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.