MonkeyRunner builds the Eclipse development environment in Windows (and solves the problem of Jython configuration error on the Internet), monkeyrunnerjython

Source: Internet
Author: User

MonkeyRunner builds the Eclipse development environment in Windows (and solves the problem of Jython configuration error on the Internet), monkeyrunnerjython

There is an article on the Internet written by the shangdong_chu user about how to configure MonkeyRunner on Eclipse, however, after my experiment, I encountered a Jython parser error in my environment, and this article lacks the Pydev installation steps, so here I will write a new article to describe how to set up the MonkeyRunner Development Environment on Eclipse.

1. Environment

First, you need to describe the environment you configured first, because you are not sure whether the configuration will be slightly different in other environments.

  • Eclipse version

  • System Version

  • Jython Jar package version and PATH provided by Android SDK


2. Install the Pydev Plugin:
  • Open Eclipse: Help> Install New Software...
  • Input in Work with: http://pydev.org/updates
  • Select PyDev to install according to the wizard
3. don't rush to install Jython Interpreter When configuring Jython development environment in Pydev. According to my experience, we will encounter the following Error during the installation process: "Error: python stdlib not found or stdlib found. py files"
  • Step 1: Find the Jar package of the Jython parser and decompress it (the jar package should be available under your SDK \ tools \ lib)
  • Step 2: Decompress the package and copy the Lib file in the decompressed folder to the same directory as the Jar package of the Jython Parser (note that this Step is important)
  • Step 3: Open Windows> References and go to Jython Interpreter.
  • Step 4: click "New" and select the Jython jar package under SDK/Tools/Lib/. Then click "OK ".
  • After the installation, the Preferrences interface should be as follows. Click OK to complete the Jython configuration of PyDev.

4. Now we have configured the Jython development environment for the MonkeyRunner Development Environment configuration. We can create a Jython project. However, we have not completed the MonkeyRunner configuration so far, so the current Jython project cannot easily develop MonkeyRunner. In fact, in combination with the MonkeyRunner development environment, we add the required package to the PYTHONPATH of Jython, so that we can directly reference it.
  • Step 1: open Window> Preferrences
  • Step 2: Go to PyDev> Interpreters> Jython Interpreter.
  • Step 3: click the "New Jar/Zips" button on the right and select the Jar package you need under \ tools \ lib under your SDK.
  • Click OK to complete MonkeyRunner Development Environment configuration.


Eclipse builds an android development environment. The following box is always displayed during sdk installation, causing installation errors.

It is not an error. It means the download is complete. If the connection times out after the download is too long, there will be a lot of articles about the slow downloading of the Baidu sdk, probably because the content in the host file is modified, and the download will be faster.

Android platform environment construction process in Windows environment with Eclipse34 as the development tool

You 'd better buy a book for Android development, which is detailed above.
Install Java SDK (JDK ),
Install Eclipse,
Install Android SDK,
Install ADT.
References: Android mobile app development from entry to entry

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.