博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
create maven android project
阅读量:5989 次
发布时间:2019-06-20

本文共 1868 字,大约阅读时间需要 6 分钟。

hot3.png

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 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 for your project using version 3.0.0 or greater of the

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:

25120033_fyFm.png

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

你可能感兴趣的文章
如何对待测试开发团队中那个拖后腿的人?
查看>>
《C语言接口与实现:创建可重用软件的技术》一1.4 扩展阅读
查看>>
《OpenGL ES 3.x游戏开发(上卷)》一导读
查看>>
《Java 2D游戏编程入门》—— 第8章 游戏原型
查看>>
《HTML5+JavaScript动画基础》——1.3 动态动画与静态动画
查看>>
《软件工程(第4版?修订版)》—第2章2.6节实时系统的例子
查看>>
Java 7: 全面教程-目录
查看>>
《SAFe 4.0参考指南:精益软件与系统工程的规模化敏捷框架》一3.5 ScrumXP
查看>>
《Adobe Flash CS6中文版经典教程》——第1课 Flash CS6快速入门1.1 启动Flash并打开文件...
查看>>
C语言OJ项目参考(2966) 循环画三角形
查看>>
如何看mysql锁信息
查看>>
redis ssentinel 配置
查看>>
记录遇到的Python陷阱和注意点
查看>>
linux awk命令详解
查看>>
iOS 应用申请常用权限
查看>>
数据结构实践——是否二叉排序树?
查看>>
tar压缩与解压缩命令实例
查看>>
Echarts柱状图
查看>>
Genymotion模拟器无法开启的解决方法——Unable to start the virtual device,The virtual device got no IP address...
查看>>
精华阅读第 12 期 | 最新 App Store 审核指南与10大被拒理由?
查看>>