When I create a new Java class with one or more field and attach the @AllArgsConstructor annotation from lombok to it, then i get this message
@AllArgsConstructor
Err
I had the same problem after updating Android Studio.
None of the another answers including accepted one helped me.
Finally I have updated the lombok version to 1.16.20 (the latest for today) and the error disappeared.
1.16.20
Hope it will save time for someone.