How do I fix these compiler errors in Apple Crunch?
Posted
by
BluFire
on Game Development
See other posts from Game Development
or by BluFire
Published on 2012-03-22T21:33:28Z
Indexed on
2012/03/23
17:41 UTC
Read the original article
Hit count: 295
android
|open-source
I've been looking around and I finally got the full source code for a game called Apple-Crunch from Google Code. But when I put it into my project, the source code included so many errors in the class files such as:
- cannot be resolved into a type
- the constructor is undefined
- the method method() is undefined for the type Sprite class.java
I downloaded the source directly from the command-line and noticed errors popping up on my project. Since I couldn't figure out how to import the actual folder into my workspace (it wouldn't show up on existing projects) I decided to copy and overwrite the folders into the project.
The errors were still there so I looked at the class files and noticed that the classes with errors extended from RokonActivity
. I then proceeded to add to the libs folder the Rokon library in hopes to fix the errors. Sadly it didn't work and now I don't what to do to fix the errors.
How do I fix the errors without having to manually change the code? The source code should be fully functional so why are there errors?
© Game Development or respective owner