2019独角兽企业重金招聘Python工程师标准>>>

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:

转载于:https://my.oschina.net/u/268088/blog/110145

create maven android project相关推荐

  1. maven android 多模块,Gradle和Android:包含多个Maven构件的pom配置出版物

    使用Gradle(v 1.7)作为构建工具处理Android库时,我使用了maven插件并配置了任务uploadArchives以发布发行版和调试版lib到本地的maven仓库. 下面的代码工作正常: ...

  2. Gradle ‘Android‘ project refresh failed Error:Connection timed out: connect

    Gradle 'Android' project refresh failed Error:Connection timed out: connect 解决办法: 工程下的gradle里面的jcent ...

  3. maven web project打包为war包,目录结构的变化

    一个maven web project工程目录: 资源管理器中的目录层级如下: 导出为war包之后的目录层级为: 我们会发现,其实并没有如下的这些目录层级: 所以这两个目录层级只是IDE为我们添加的, ...

  4. spring boot:创建一个简单的web(maven web project)

    1.新建一个maven web project; 2.在pom.xml文件中添加相应的依赖包: 3.新建一个HelloController请求控制类: 4.编写index.jsp页面: 5.编写启动类 ...

  5. What happened when we perform Maven Update Project in Eclipse

    Created by Wang, Jerry, last modified on Jul 20, 2016 我们初始把project 从github copy下来时,project facet是空的, ...

  6. Eclipse New菜单中没有Android Project选项

    1.file -->new -->other -->android文件夹 --> 双击android project. 2.经常用的话自己定义 在工具栏上找到Window 选择 ...

  7. Error:The module 'app' is an Android project without build variants, and cannot be built.

    导入 项目 Error:The module 'app' is an Android project without build variants, and cannot be built. Plea ...

  8. Eclipse导入Android Project遇到的问题

    2019独角兽企业重金招聘Python工程师标准>>> Eclipse导入Android Project提示错误"Overlaps The Location Of Anot ...

  9. Eclipse中导入maven项目 maven update project报“Cannot nest ‘xx/src/main/resources‘ inside ‘xx/src ……”

    导入maven项目 maven update project"Cannot nest 'xx/src/main/resources' inside 'xx/src --" Unab ...

最新文章

  1. Flink状态后端配置(设置State Backend)
  2. awk 添加自定义变量
  3. 2019年中国教育信息化行业研究报告
  4. 5G进入爬坡期,这个关键因素,决定了它的成败……
  5. Nutanix,在转型的道路上越走越远 | 人物志
  6. File对象的深度遍历以及删除练习。
  7. 如何把include_type_name的值设置为true
  8. 【缺陷检测】基于matlab形态学液晶显示器表面缺陷检测【含Matlab源码 1304期】
  9. Linux中的远程连接
  10. python 高德/百度/腾讯/谷歌API 与WGS84坐标互转(BD09/GCJ02/WGS84)
  11. 学好mysql教材_MySQL基础学习
  12. Flash 多人在线游戏教程 - TicTacToe
  13. tabindex 用法说明
  14. Python 条件运算符的嵌套来完成此题:学习成绩
  15. oracle 000000000A2F6630,数据导入新库时发生错误
  16. Crypto 学习第二天
  17. [Windows] win10工具: 一键关闭 Win10系统更新工具!
  18. 撒旦的诡计------网络游戏
  19. 2017美国数学建模ICM E题(环境) 翻译 需要可持续城市!(Sustainable Cities Needed!)
  20. js文本内容显示6行,超出6行出现显示更多按钮,css样式超出行数只能使用...去替代

热门文章

  1. Windows服务器补丁列表及介绍_传奇单机架设,列表读取失败?单机架设经常遇到的问题分享!...
  2. 开始测试鸿蒙系统,华为打起反击战!正式测试“鸿蒙系统”,谷歌认怂,恢复华为资格...
  3. 24c04硬件地址位_一文读懂IP地址和MAC地址有什么区别和联系
  4. abap 给用户分配事物代码权限_【第五篇】SAP ABAP7.50 之用户接口
  5. linux 信号传递函数,Linux Shell之七 函数应用
  6. 如何查看云服务器的系统版本,如何查看云服务器系统版本
  7. 爬取音乐排行_TapTap排行榜数据大盘点
  8. rpm命令选项中文说明
  9. 多环境下读取不同的配置文件
  10. 接口持续集成环境搭建