When using Proguard with Android, methods that are only invoked via reflection (e.g., callbacks defined in onClick XML attributes) are erroneously stripped out.
One solu
You can retrieve annotations.jar and annotations.pro from an official ProGuard release. You should then be able to use annotations as discussed here
annotations.jar
annotations.pro
All the necessary options can go in proguard.cfg.