Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Android for Maven Eclipse
Java Shell
Latest commit ee421e3 @rgladwell Documented minimal Android SDK installation.
Previous installation instructions required all Android SDK
dependencies be installed. Minimised this to install only SDK
dependencies required for tests.
Failed to load latest commit information.
andmore Candidate release version 1.4.1.
compile Updated to latest version of ADT (23.0.7).
indigo Updated to latest version of ADT (23.0.7).
juno Updated to latest version of ADT (23.0.7).
kepler Updated to latest version of ADT (23.0.7).
luna Updated to latest version of ADT (23.0.7).
mars Updated to latest version of ADT (23.0.7). Candidate release version 1.4.1. Quarantined test failing on Travis Candidate release version 1.4.1. Candidate release version 1.4.1.
.gitignore Revert "Merge pull request #347 from WonderCsabo/integrateJRebel"
.travis.yml Added Travis integration for Gitter. Documented location of Eclipse log files.
LICENSE.txt Added open source license to distribution. Documented minimal Android SDK installation.
Vagrantfile Increased VM CPUs and memory to replicate Travis.
catalog.xml Renamed project to 'Android for Maven Eclipse'
formatter.xml Re-formatted code according to style guides.
pom.xml Candidate release version 1.4.1. Install Android 2.2 artifact in CI

Android for Maven Eclipse Stories in Ready Build Status Codacy Badge

Join the chat at

Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ricardo Gladwell, Hugo Josefson, Anthony Dannane, Mykola Nikishov, Raphael Ackermann, Csaba Kozák, and Sonatype Inc.. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 1.0 which accompanies this distribution

Android for Maven Eclipse (m2e-android) adds Maven support to the Android Developer Tools (ADT). This is developer documentation, for user instructions on how to install please see the project web site.

Lead Maintainer: Ricardo Gladwell

Special thanks to our patrons who crowdfunded project development through Patreon:


Before you start you need to:

  • Install the Android SDK.
  • Create ANDROID_HOME environment variable containing the Android SDK install path.
  • Ensure you have installed the requried Android dependencies (execute android update sdk --filter platform-tools,build-tools-21.1.1,android-18,addon-google_apis-google-18,android-10,addon-google_apis-google-10,android-8,addon-google_apis-google-8 --no-ui --force).
  • Install the latest Maven 3 for command line Tycho support.
  • Install the Maven Android SDK Deployer and deploy the 4.1 and 4.3 APIs (mvn install -P 4.3,2.2).

To build execute the following command from the project folder:

$ mvn install

Eclipse Set-up

To configure your development environment please follow these steps:

This project consists of several sub-modules, including:

  • Parent POM.
  • Core Eclipse plugin.
  • Test suite.
  • Eclipse feature.
  • Various target definitions.
  • and the update site.

To clone them into your Eclipse workspace follow these steps:

  • Clone this git repository into your local workspace.
  • In Eclipse select File -> Import... in the menu and then select Maven -> Existing Maven Projects.
  • Select the m2e-android folder you just cloned and select the parent and some of the sub-projects (excluding the targets i.e. luna, mars, etc., but including the compile target).
  • Click Finish.
  • This should install some additional m2e extensions if not already installed
  • Restart Eclipse when prompted.
  • In Preferences -> Plug-In Development -> Target Platform choose Maven for Android Eclipse and click OK. It may take some time to downloads the dependencies required to compile m2e-android.

Further Reading

For more information on developing the m2e-android plug-in please see the following:

Something went wrong with that request. Please try again.