• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rgladwell/m2e-android: Android for Maven Eclipse

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rgladwell/m2e-android

开源软件地址(OpenSource Url):

https://github.com/rgladwell/m2e-android

开源编程语言(OpenSource Language):

Java 99.5%

开源软件介绍(OpenSource Introduction):

#Android for Maven Eclipse No Maintenance Intended Build Status Codacy Badge

Join the chat at https://gitter.im/rgladwell/m2e-android

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:

#Building

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:




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap