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 Indigo or Juno installed.

2. Install Android Connector

You can install the Android Connector for Maven via the Eclipse Marketplace. Select Help -> Eclipse Marketplace... and search for "android m2e".

Click the Install button next to the Android Connector for Maven that appears and follow the path through the wizard dialog to install the plug-in and its dependencies (including the Android Development Toolkit and the Maven for Eclipse m2e plug-in). Accept the terms-and-conditions and click Finish.

Once you restart your Eclipse workspace you should be ready to start using the Android Connector.

3. 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 Configure -> 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

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

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. adt-bundle和android studio下载地址(不定
  2. Android自用-----Android中一些关于Activ
  3. Android启动续-------SystemSever启动
  4. Android杂谈---Android几种预定义样式
  5. 相对布局属性
  6. android系统中“关于设备”中android版本
  7. Android之路——第二个Android小程序(Andr
  8. 【Android】Android取消EditText自动获取
  9. Android(安卓)NDK学习记录(一)
  10. 【android初级】之android布局属性详解