Whats the best way to deploy several customized versions of a Android application?


















Getting Started


The Android Configurator is an Maven Integration for Eclipse (m2e) plug-in that adds maven support for Android Developer Tools (ADT) and the Maven Android Plugin. It brings the power of Maven dependency management into the ADT.




1. Before you start


You will need Eclipse Helios or Indigo installed, as well as some additional Eclipse plug-ins. Instructions for installing these components can be found here:



*Maven Integration for Eclipse should already be installed in you're using Indigo.


Please Note: If you have an old, alpha 0.2.x version of the Android Connector installed you should un-install it before installing the latest 0.3.x beta versions.


2. Create Eclipse project


If you already have an Android project please make sure you have created a POM for your project using version 3.0.0 or greater of the maven-android-plugin.


Then right-click on your project and select Configuration -> Convert to Maven Project.


If you are starting with a new project you can use the Maven Android archetypes to create Android projects completely within Eclipse:



  1. Create a new Maven Project (File -> New -> Project... then select Maven -> Maven Project).

  2. When prompted to Select Archetype click Add Archetype...

  3. In the dialog that appears enter "de.akquinet.android.archetypes" for Archetype Group Id.

  4. In Archetype Artifact Id enter "android-quickstart".

  5. In Archetype Version enter "1.0.8" and continue.

  6. When prompted enter your desired project group and artifact ID, version and, optionally, set the "platform" property for the Android version (defaults to '10').

  7. Click Finish

  8. Right-click on new project and select Maven -> Update Project Configuration.


Either way you should end up with an Eclipse project looking something like this:



3. Install Android Connector


Open your POM and click on the "Plugin execution not covered by lifecycle configuration" error. This will give you the option to Discover new m2e connectors.


Select this and you should be automatically prompted to download and install the Android Connector.


Once you have installed the Android Connector, your project should look something like this:





مواضيع متعلقة


اهم الفاعليات لهذا الشهر


الشبكات الإجتماعية

تغريدات تويتر