This tutorial shows you how to setup E3roidExamples with Eclipse IDE.
First of all, make sure Android SDK and Eclipse IDE is installed on your PC. If not installed, the following link Android Developers and Talk Android describes how to setup Android SDK with Eclipse.
After installing Android SDK and Eclipse IDE, your PC is ready to install e3roid game framework. Download the latest e3roid source distribution(e3roid-source-X.X.zip) from Google code project page and unzip it to appropriate directory. Copy E3roidExamples folder from source distribution and copy them to your Eclipse workspace directory.

Create E3roidExamples/bin and E3roidExamples/gen directory if these directory does not exist. Eclipse may produce some weird errors if these directory does not found so make sure these directory exist before starting Eclipse.

After starting Eclipse, import the E3roidExamples by selecting “File” -> “Import” menu, and import the E3roidExamples directory. After that, you might see the first automatic build is succeed or not. If you find “Android requires .class compatibility set to 5.0″ error in the Eclipse’s console, right click on the project -> Properties -> Java Compiler -> Compiler compliance level to 1.5 and then rebuild the project.

This build after setting level to 1.5 must fail because e3roid’s source uses some kind of annotation (@Override and @Deprecated) used with Compiler level 1.6. So it is needed to set back the property. Right click on the project -> Properties -> Java Compiler -> Compiler compliance level to 1.6 and then rebuild the project.

It is also OK to keep compiler level to 1.5 but you have to remove all annotations (@Override and @Deprecated so on) to build e3roid examples. If you faces “Refreshing external folders” error, try close the project and re-open it. Despite of after following those steps, Eclipse may produce some kind of weird errors that never tell us the possible solution at times. If you face that kind of errors, try to “clean the project” or delete the project and reset from the first step or just ignore these errors if possible.