" Mavenising" ActionBarSherlock库 [英] "Mavenising" ActionBarSherlock Library

查看:155
本文介绍了" Mavenising" ActionBarSherlock库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是这个问题的延续:<一href=\"http://stackoverflow.com/questions/12043237/actionbarsherlock-maven-eclipse-dependency-not-found-in-workspace\">ActionBarSherlock +行家+日食:依赖工作区没有找到

This is a continuation of this problem: ActionBarSherlock + maven + eclipse: dependency not found in workspace

我得到的错误:

dependency=[com.actionbarsherlock:library:apklib:4.1.0:compile] not found in workspace

我下载了ActionBarSherlock code并将其添加到我的工作区。

I downloaded the ActionBarSherlock code and added it to my workspace.

然而,当我尝试建立自己的项目,我得到了以下错误:

However, when I try to build my own project, I'm getting the following error:

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: 
Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl;

我相信这是因为正在生成重复的罐子。我认为这是因为V4支持库出现在我的两个项目和放大器;在ActionBarSherlock库。

I believe this is because the duplicate jar being generated. I think it's because the v4 support library appears on both my project & the ActionBarSherlock library.

什么是解决这个问题的最好方法?

What is the best way to fix this problem?

先谢谢了。

推荐答案

为Android库的支持仍然在开发中M2E-的Andr​​oid:

Support for Android libraries is still in development for m2e-android:

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

您正在与ActionBarSherlock库遇到的问题是已知的,我们希望在不久的将来解决的问题:

The problems you're having with the ActionBarSherlock library are known issues which we hope to fix in the near future:

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

这篇关于&QUOT; Mavenising&QUOT; ActionBarSherlock库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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