Eclipse的靛蓝无法导入行家的Andr​​oid构建在命令行中确定 [英] Eclipse Indigo cannot import maven android that builds OK on command line

查看:194
本文介绍了Eclipse的靛蓝无法导入行家的Andr​​oid构建在命令行中确定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建命令行使用此原型一个Maven Android项目:

I created a maven android project from the command line using this archetype:

19: remote -> android-quickstart (-)

我可以调用它MVN安装成功。

I can call "mvn install" on it with success.

当我尝试导入同一项目到Eclipse靛蓝,我看到:

When I try to import the same project into Eclipse Indigo, I see this:

发现处理Maven的Andr​​oid平台的插件没有市场条目:2.8.3:产生来源在Eclipse中。请参阅帮助了解更多信息。

No marketplace entries found to handle maven-android-plugin:2.8.3:generate-sources in Eclipse. Please see Help for more information.

和这样的:

发现处理Maven的Andr​​oid平台的插件没有市场条目:2.8.3:解包在Eclipse中。请参阅帮助了解更多信息。

No marketplace entries found to handle maven-android-plugin:2.8.3:unpack in Eclipse. Please see Help for more information.

请注意,没有帮助按钮在这里。

Note that there is no "Help" button here.

如果我的稍后解决的这些,构建失败,这样的:

If I Resolve Later on these, the build fails with this:

未涵盖的生命周期配置的插件执行:com.jayway.maven.plugins.android.generation2:Maven的Andr​​oid的插件:2.8.3:产生来源(执行:默认生成来源,阶段:产生来源)的pom.xml / T3线路22 Maven项目构建生命周期映射问题

Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:maven-android-plugin:2.8.3:generate-sources (execution: default-generate-sources, phase: generate-sources) pom.xml /t3 line 22 Maven Project Build Lifecycle Mapping Problem

(和解压阶段的附加误差)

(and an additional error for the unpack phase)

我给我的完整安装列表中的时刻,但我发现这个插件在Eclipse中。我觉得这不应该存在(?),因为靛蓝已经M2E建...

I'll give my complete install list in a moment, but I noticed this plugin in Eclipse. I think this shouldn't be there(?), since Indigo has M2E built in...

- Sonatype的公司Maven的集成为Eclipse 0.13.0

也许我意外安装了它?

总之,这是我处理的其余部分:

Anyway, here's the rest of my deal:


  • 的Microsoft Windows [版本6.1.7601]

  • 的Apache Maven的3.0.3(r1075438; 2011-02-28 12:31:09-0500)

  • Java版本:1.6.0_26,供应商:Sun Microsystems公司

  • Android的开发工具包11.0.0v201105251008-128486

  • 的Eclipse版本:靛蓝发布 - 建立ID:
    20110615-0604

推荐答案

蒂洛·亚历山大京克尔拥有它的权利:m2eclipse的-Android的整合只是不与靛蓝的Java工作。我跟着这个链接,的http://groups.google.com/group/maven-android-developers/browse_thread/thread/3b463cf80edc41e3,有人建议安装靛蓝J2EE其中的的来与Maven的集成。因此,为了得到m2eclipse的,Android和m2eclipse的,Android的整合是有效地同太阳神......你刚才自己安装的一切。

Thilo-Alexander Ginkel has it right: m2eclipse-android-integration just doesn't work with Indigo Java. I followed this link, http://groups.google.com/group/maven-android-developers/browse_thread/thread/3b463cf80edc41e3, and someone suggested installing Indigo J2EE which does not come with Maven integration. Thus, to get m2Eclipse, Android, and m2Eclipse-Android-Integration it was effectively the same as Helios...you just install everything yourself.

这篇关于Eclipse的靛蓝无法导入行家的Andr​​oid构建在命令行中确定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆