AllArgsConstructor from lombok is not found by Android Studio

后端 未结 6 1204
猫巷女王i
猫巷女王i 2020-12-09 16:50

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

Err

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 17:12

    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.

    Hope it will save time for someone.

提交回复
热议问题