Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8265803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:55:55+00:00 2026-06-08T04:55:55+00:00

This is my first time using Cocos2d for android and I am trying to

  • 0

This is my first time using Cocos2d for android and I am trying to integrate it as a library from source code(I haven’t tried the jar file yet). when trying to run the
application he following error occurs:

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/cocos2d/actions/interval/CCSpawn;
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.processClass(Main.java:486)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.access$400(Main.java:67)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.processOne(Main.java:418)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.dx.command.dexer.Main.run(Main.java:206)
[2012-07-21 14:26:37 - TestingCocos] Dx     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2012-07-21 14:26:37 - TestingCocos] Dx     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2012-07-21 14:26:37 - TestingCocos] Dx     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2012-07-21 14:26:37 - TestingCocos] Dx     at java.lang.reflect.Method.invoke(Unknown Source)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:180)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:703)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:577)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:282)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:363)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.resources.Project.build(Project.java:123)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:1000)
[2012-07-21 14:26:37 - TestingCocos] Dx     at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:147)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:924)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1128)
[2012-07-21 14:26:37 - TestingCocos] Dx     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2012-07-21 14:26:37 - TestingCocos] Dx 1 error; aborting
[2012-07-21 14:26:37 - TestingCocos] Conversion to Dalvik format failed with error 1

I recently upgraded to ADT20. so I hope this isn’t some related problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:55:57+00:00Added an answer on June 8, 2026 at 4:55 am

    This isn’t a problem running the app, it’s a problem building it. It looks like you’ve managed to include the same class in two different places (e.g. maybe both in the app and a library). The class’s name is org.cocos2d.actions.interval.CCSpawn. dx doesn’t have the prettiest error messages, but they’re usually at least somewhat informative!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first time using XML documents. What I'm trying to do is
This is my first time using an external library, and I'm a bit nervous
This is my first time using CMake and I'm trying to build QJSon, a
This is my first time using XSLT. I'm trying to create a file that
This is my first time using a rails helper, and haven't found much documentation
This is my first time using Magento. I upgraded this site from 1.4.1.1 to
This is my first time using splint (from Ubuntu repositories) and I immediately got
This is my first time using PayPal to handle payments from a website, and
This is my first time using SAXParser, (I'm using it in Android, but I
i am new to android and this my first time using AsyncTask. I made

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.