# How do I fix these compiler errors in Apple Crunch?

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?

• Likely you are missing libraries that need to be defined. And you may want to slow down a bit, find something simpler first. – MichaelHouse Mar 22 '12 at 21:38
• Do you recomend anything simpler? Something more exciting than tetris? Plus, isn't changing an open-source code suppose 2 be easy and for practice? It seems to me that the only hard part of an open-source code is setting it up. – Blue Mar 22 '12 at 21:56
• Nope, it's not supposed to be easy, and typically it's difficult. I don't know of anything else you can switch to, it's just my recommendation. – MichaelHouse Mar 22 '12 at 21:58
• Well I'm just trying to set it up so I can run it, then I can change it. Like adding new features or or removing settings i wouldnt like. – Blue Mar 22 '12 at 22:11