Eclipse的朱诺和android Maven插件 [英] Eclipse Juno and android maven plugin

查看:197
本文介绍了Eclipse的朱诺和android Maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多的痛苦让我的一些机器人项目在日食4.2运行,他们跑罚款靛蓝,但没有这么多的朱诺。

我使用的是Android的Maven插件,并且他们也运行正常,从控制台,使用

  MVN机器人:运行
 

但在导入项目进入朱诺后,我得到了以下错误

导入Maven项目:

 过程中发生内部错误。
COM /安卓/ IO / StreamException
 

 警告:无法写入jarlist缓存文件/path-to-project-bin/jarlist.cache
 

然后试图运行项目时,我得到以下错误控制台

  R.java被手动修改!恢复到生成的版本!
 

并在启动应用程序崩溃。

曾经有人看到类似的问题,朱诺?

解决方案

这是一个已知的问题与 M2E 引起的是对正在处理的ADT版本20.0.0更新-Android连接器:

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


更新:新的0.4.2版本修正了这个问题被今天公布,请运行Eclipse更新(帮助 - >检查更新),让我知道这是否解决您的问题。

I'm having alot of pain getting some of my android projects to run on eclipse 4.2, they run fine in Indigo , but not so much in Juno.

I'm using the android maven plugin, and they also runs fine from the console, using

mvn android:run

But after importing the projects into Juno, I get the following errors

An internal error occurred during: "Importing Maven projects".
com/android/io/StreamException

and

WARNING: unable to write jarlist cache file /path-to-project-bin/jarlist.cache

Then when trying to run the project, I get the following error in the console

R.java was modified manually! Reverting to generated version!

and the application crash on startup.

Have anybody seen similar problems with Juno?

解决方案

This is a known issue with the m2e-android connector caused by the update for ADT version 20.0.0 that is being worked on:

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


Update: The new 0.4.2 release fixes this issue was released today, please run an Eclipse update (Help -> Check for Updates) and let me know if this resolves your problems.

这篇关于Eclipse的朱诺和android Maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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