Skip to content Skip to sidebar Skip to footer

Type Enum Is Not Generic Error Cloning Andengine

I keep getting this error after cloning a repository from the AndEngine project.. The type Enum is not generic; it cannot be parameterized with arguments Here

Solution 1:

Well, it seems that this error has many causes. The main one from searching the web (Here) is that the .classpath file in the project directory is wrong - that's the one I had, too. It's probably AndEngine's project who has the wrong file, because you said this problem was encountered when you updated it.

So, you can either:

  1. Solve it. This page has a nice explanation of the problem, check it out. You can get more information here.
  2. Instead of importing AndEngine source into your workspace in eclipse (Which I guess you did, because that's probably the source of the problem), you can just link the source folder, then eclipse won't bug checking the AndEngine project files (Which might be wrong).

Another reason might be because of mis-configured JRE system library. There is a nice tutorial of how to fix that here.

By the way, this problem is related to eclipse, so I'll retag your question with eclipse tag, so if my answer won't help - at least you will get better ones :)

Post a Comment for "Type Enum Is Not Generic Error Cloning Andengine"