5

although there are many questions with a similar title, I could not find the solution to this issue.

I have an Android project in Eclipse which references ActionBarSherlock 4.0.2 as Android library. In addition, I have added the JARs for ACRA and Google Analytics in the /libs folder. The support v4 jar is taken from ABS libs.

The project's Java Build Path looks like this enter image description here

When exporting through the wizard I get the "Conversion to Dalvik format failed with error 1" error.

Cleaning, removing all Android Dependencies and clicking on Fix Project Properties and cleaning does all not work.

Any idea?

EDIT:

I missed some info: I'm doing this on Mac OS 10.6.8, Eclipse Indigo, Android SDK Tools r19 and ADT plugin v18.

project.properties file includes the proguard.cfg file: commenting it does avoid the issue.

4

2 回答 2

0

我实际上设法克服了这个问题,如果它们对任何人有用,这里有一些详细信息:

我首先尝试了从清理到关闭/重新打开项目等的一切

我终于也从 http://sourceforge.net/projects/proguard/files/获得了最新的 proguard 测试版,并将 android-sdk-macosx/tools/proguard 中的 /lib 文件夹替换为 beta 版中的那个(proguard4.8beta1 )和..它的工作原理!

于 2012-05-18T19:04:38.450 回答
0

更新到 ADT 20(与 Jelly Bean 一起发布)后,我遇到了同样的问题,同样,所有旧的解决方案(清理、重建等)都没有帮助。从 omoling 的回答中得到线索,我将 Flurry jar 更新为他们网站上的最新版本……问题就解决了。

因此,如果您遇到此问题,请尝试更新您的项目使用的任何/所有外部库。

于 2012-07-13T10:43:56.650 回答