• Advertisement
Sign in to follow this  

Illegalargumentexception: already added

This topic is 1961 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi.

A week ago I started with android. I want to port my existing java game engine+games to it. I've made some progress but now I'm stuck with this issue.

I have an Android application project (A game) that has 2 normal java projects added to its build path. A couple of classes in these 2 projects have the same package+class name and that causes this error when I try to run it. I need a solution that doesnt require me to move or rename any of the existing classes. Also the classes are not copies of each other. Basicly I need it to use the first class it finds on the build path and ignore the second one. Thats how normal java applications behaves afterall and in Eclipse you can specify the order of the of projects on the build path.

Thnx in Advance!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement