I had the same problem, but I need a slightly different fix (although the idea is taken from the accepted answer above - fooobar.com/questions/1267543 / ... )
It turned out that I already have the provided and annotationProcessor in the build.gradle files .. but I also had a compilation record. Removing this fix for me:
compile 'org.projectlombok:lombok:1.16.16' // remove this provided 'org.projectlombok:lombok:1.16.16' annotationProcessor "org.projectlombok:lombok:1.16.16"
I just thought I'd add my conclusions if that helps anyone. I use Android Studio 3.0 Canary 4 and gradle: 3.0.0-alpha4 in my endless quest to get build time down, which never pays off :)
source share