When I'm adding JAR( include 3 java files ) into my project it throws 
following error .

"*[2011-11-16 08:51:42 - crumbin-app-prototype] Conversion to Dalvik format 
failed with error 1*"

How can i fix this problem ?

[2011-11-16 06:34:18 - JSONtest] Unable to resolve target 'Google 
Inc.:Google APIs:7'
[2011-11-16 06:34:18 - HomeActivity] Unable to resolve target 'Google 
Inc.:Google APIs:13'
[2011-11-16 06:35:38 - SDK Manager] Created AVD 'Ice-cream' based on 
Android 4.0, ARM (armeabi-v7a) processor,
[2011-11-16 06:35:38 - SDK Manager] with the following hardware config:
[2011-11-16 06:35:38 - SDK Manager] hw.lcd.density=160
[2011-11-16 06:35:38 - SDK Manager] vm.heapSize=24
[2011-11-16 06:35:38 - SDK Manager] hw.ramSize=256
[2011-11-16 06:42:55 - crumbin-app-prototype] ------------------------------
[2011-11-16 06:42:55 - crumbin-app-prototype] Android Launch!
[2011-11-16 06:42:55 - crumbin-app-prototype] adb is running normally.
[2011-11-16 06:42:55 - crumbin-app-prototype] Performing 
com.crumbin.main.CrumbinMainActivity activity launch
[2011-11-16 06:42:55 - crumbin-app-prototype] Automatic Target Mode: 
launching new emulator with compatible AVD 'Ice-cream'
[2011-11-16 06:42:55 - crumbin-app-prototype] Launching a new emulator with 
Virtual Device 'Ice-cream'
[2011-11-16 06:42:56 - crumbin-app-prototype] New emulator found: 
emulator-5554
[2011-11-16 06:42:56 - crumbin-app-prototype] Waiting for HOME 
('android.process.acore') to be launched...
[2011-11-16 06:43:35 - crumbin-app-prototype] HOME is up on device 
'emulator-5554'
[2011-11-16 06:43:35 - crumbin-app-prototype] Uploading 
crumbin-app-prototype.apk onto device 'emulator-5554'
[2011-11-16 06:43:35 - crumbin-app-prototype] Installing 
crumbin-app-prototype.apk...
[2011-11-16 06:44:03 - crumbin-app-prototype] Success!
[2011-11-16 06:44:03 - crumbin-app-prototype] Starting activity 
com.crumbin.main.CrumbinMainActivity on device emulator-5554
[2011-11-16 06:44:04 - crumbin-app-prototype] ActivityManager: Starting: 
Intent { act=android.intent.action.MAIN 
cat=[android.intent.category.LAUNCHER] 
cmp=com.crumbin.main/.CrumbinMainActivity }
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx 
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: 
Lcom/crumbs/util/CrumbsHttpRequestImpl;
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.dex.file.DexFile.add(DexFile.java:163)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.processClass(Main.java:486)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.access$400(Main.java:67)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.processOne(Main.java:418)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.dx.command.dexer.Main.run(Main.java:206)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
java.lang.reflect.Method.invoke(Method.java:616)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:729)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:602)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.resources.Project.build(Project.java:124)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.ide.eclipse.adt.internal.project.ProjectHelper.build(ProjectHelper.java:869)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx     at 
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2011-11-16 08:51:42 - crumbin-app-prototype] Dx 1 error; aborting
*[2011-11-16 08:51:42 - crumbin-app-prototype] Conversion to Dalvik format 
failed with error 1*


Thanks in advance ...

-- 
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