Illegalargumentexception: already added

Started by
-1 comments, last by Wilhelm van Huyssteen 11 years, 7 months ago
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!

This topic is closed to new replies.

Advertisement