I’m trying to migrate an android application project from Android Studio 0.8 to 1.0 version. The project uses AndroidAnnotations framework.
The problem arises when you try to supply the custom arguments required by AndroidAnnotations with the APT Plugin.
Using this instruction will lead to the next compiler error: Could not find property 'processResources'
apt {
arguments {
androidManifestFile variant.processResources.manifestFile
resourcePackageName “com.rf.commons”
}
}
Any thoughts will be appreciate.
Thanks!
Editing Gradle file as follow should solve the problem:
apt {
arguments {
androidManifestFile variant.outputs[0].processResources.manifestFile
resourcePackageName "your.package.name"
}
}