since updating ADT to r14, i've been plagued by the bug described here

http://code.google.com/p/android/issues/detail?id=20398

and here

http://stackoverflow.com/questions/7823312/problems-building-with-adt-r14

i was surprised that i couldn't find a thread about this bug in this
group. i'm hoping someone here has some insight. i've tried all the
solutions offered so far, and none of them work for me.

my comment from the bug report: i'm having this problem too. my app
only references one library - my LVL library. i have tried removing
the reference, cleaning .classpath, and .project, and removing
references to source folders. i've cleaned the project, opened and
closed it, and waved a dead chicken over my keyboard. nothing has
worked. please help!

my console output with stack trace:

[2011-10-20 23:32:04 - MyApp] Dx UNEXPECTED TOP-LEVEL
EXCEPTION:java.lang.IllegalArgumentException: already added: Lcom/
android/vending/licensing/AESObfuscator;
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:
123)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.dex.file.DexFile.add(DexFile.java:163)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.processClass(Main.java:486)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.access$400(Main.java:67)
[2011-10-20 23:32:04 - MyApp] Dx        at com.android.dx.command.dexer.Main
$1.processFileBytes(Main.java:394)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:
245)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
131)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
109)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.processOne(Main.java:418)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.dx.command.dexer.Main.run(Main.java:206)
[2011-10-20 23:32:04 - MyApp] Dx        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2011-10-20 23:32:04 - MyApp] Dx        at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2011-10-20 23:32:04 - MyApp] Dx        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2011-10-20 23:32:04 - MyApp] Dx        at
java.lang.reflect.Method.invoke(Unknown Source)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:
179)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:
729)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:
602)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
629)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
172)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
282)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
363)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
524)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.core.internal.resources.Project.build(Project.java:123)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.project.ProjectHelper.build(ProjectHelper.java:
869)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:
84)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(ExportWizard.java:
290)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access
$0(ExportWizard.java:229)
[2011-10-20 23:32:04 - MyApp] Dx        at
com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard
$1.run(ExportWizard.java:214)
[2011-10-20 23:32:04 - MyApp] Dx        at
org.eclipse.jface.operation.ModalContext
$ModalContextThread.run(ModalContext.java:121)
[2011-10-20 23:32:04 - MyApp] Dx 1 error; aborting
[2011-10-20 23:32:04 - MyApp] Conversion to Dalvik format failed with
error 1

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to