It looks like your AndroindAnnotation generated classes are not getting included in your build. Here are the lines your .classpath seems to be missing --
<classpathentry kind="src" path=".apt_generated">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
These should have been generated for you as part of following the AndroidAnnotations install. Things to check --
Your ADT tools are up to date.
You ran
Project->Clean
after enabling annotations
I was able to clone your repo, import into eclipse, and get a clean build and run the app without a crash using the following steps --
- Refactor/rename project to TestAnnotations (eclipse imported as "MainActivity_")
- Enable annotation processing (needed to turn on
Enable project specific settings
andEnable annonation processing
in `Java Compiler->Annontation Processing) - Project->Clean
- Run it
Note: If I did an import and just refactored to get a clean build, but did not enable annotation processing, I got the exact same behavior you describe. Check to make sure you have project specific settings on, annotations on, and then do a clean build.