Working With Eclipse

Overview

This page shows how to use Manymo emulators with Eclipse.

Prerequisites

You'll need to sign up for a free Manymo account – no credit card required – and then install the Manymo command line tool.

Approach

The overall approach is to use the Manymo command line tool to make Manymo in-browser emulators appear like local emulators, and to set up to the run configuration for your Eclipse Android project to prompt you to pick the device target each time you run or debug so that you can pick a running Manymo emulator.

Eclipse Android Project Setup

  1. Open or create an Android project.

  2. Open the Run menu and choose Run Configurations...

  3. Create or edit a run configuration and then...

    1. Select the Target tab.

    2. Locate the Deployment Target Selection Mode section and choose the Always prompt to pick device option.

    3. Click the Close button.

Running And Debugging

  1. Launch an emulator.

  2. Use the Manymo command line tool to establish a tunnel.

    Important: Don't establish the tunnel until after you've loaded Eclipse; Eclipse restarts ADB, taking the tunnel offline.

  3. Run or debug the project from Eclipse.

  4. Select the Manymo emulator and click the OK button.