Fixed enum handling. APK will run fine. Still need to fix Ant build