The generated R class cannot be found (Android Annotations, AA and product flavors)
There’s situation when you use android productFlavors with individual applicationId for each application (that’s reasonable when you generating some similar apps for Google Play) and using Android Annotations framework (AA).
Error:The generated ru.translator.ukrainian.R class cannot be found
It’s just because apt doesn’t know where look for your resource package so you should to point it explicitly:
// logLevel 'INFO'
// logFile '/var/log/aa.log'
And that’s all!