Jump to content

  • Log In with Google      Sign In   
  • Create Account


Illegalargumentexception: already added


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Wilhelm van Huyssteen   Members   -  Reputation: 910

Like
0Likes
Like

Posted 07 September 2012 - 01:28 AM

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!

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS