Monkeyrunner Setup steps for Eclipse Development environment under Windows (and resolves an error in Jython configuration on the web)

Source: Internet
Author: User

There is an article on the Internet Shangdong_chu user wrote about how to configure Monkeyrunner on Eclipse, did a very good description, but after my experiment in my environment encountered the Jython parser error problem, and the article is missing Pydev installation steps, So here's a new article on how to build up the Monkeyrunner development environment on Eclipse, in my case.

1. Environment

First you need to describe the environment that I configured, because I am not sure if there are any slight differences in the configuration of other environments.

    • Eclipse version

    • System version

    • Jython jar package versions and paths provided by the Android SDK


2. Pydev plug-in installation steps:
    • Open Eclipse:help>>install New software ...
    • Work with input : Http://pydev.org/updates
    • Select Pydev to install according to the wizard
3. Pydev Configuring the Jython development environment do not rush to install Jython's interpreter at this time, because in my experience we will encounter the following error during installation: "Error:python stdlib not found or Stdlib found without. py files"
    • step 1: Find the Jython parser jar package and unzip it (the jar package should be available in your SDK \tools\lib found below)
    • Step 3: Open windows>>references and navigate to Jython interpreter
    • Step 4: Click on the "New" button and select the Jython jar package below sdk/tools/lib/, then click the OK button
    • After installing the Preferrences interface should be as follows, click OK to complete the Pydev Jython configuration

4. Monkeyrunner Development Environment ConfigurationSo far we've configured Jython's development environment, and we can already create a Jython project. But so far we have not finished Monkeyrunner configuration, so now the Jython project is not very convenient to develop Monkeyrunner. in fact, with the Monkeyrunner development environment is to add the package we need to Jython pythonpath inside, convenient for us to refer directly.
    • Step 1: Open window>>preferrences
    • Step 2: Locate the Pydev>>interpreters>>jython interpreter
    • Step 3: Click on the "New jar/zips" button on the right to start selecting the Jar package below the \tools\lib you need under the SDK below.
    • Click the OK button to complete the Monkeyrunner development environment configuration

Monkeyrunner Setup steps for Eclipse Development environment under Windows (and resolves an error in Jython configuration on the web)

Related Article

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.