AllArgsConstructor from lombok is not found by Android Studio

You need to add suppression in your AllArgsConstructors. If you don't want to add a new config file, you can simply do this:

@AllArgsConstructor(suppressConstructorProperties = true)

Disclosure: I'm not a Lombok developer :D


Lombok generates the @ConstructorProperties by default for all generated constructors. On Android, that annotation is not available. As mentioned in the documentation it is possible to suppress the generation by either specifying suppressConstructorProperties=true for each @XxxArgsConstructor, or by using the following line in a high level lombok.config file:

lombok.anyConstructor.suppressConstructorProperties = true

Disclosure: I am a Lombok developer