Open shenguojun opened 2 years ago
ViewBinding is using JavePoet version newer then V1.7.0 and use function addComment and addJavadoc in JavaPoet 1.8.0.
addComment
addJavadoc
The following error will occur when viewbinding enable:
Execution failed for task ':app:dataBindingGenBaseClassesDebug'.
com.squareup.javapoet.MethodSpec$Builder.addComment(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/MethodSpec$Builder
ViewBinding is using JavePoet version newer then V1.7.0 and use function
addComment
andaddJavadoc
in JavaPoet 1.8.0.The following error will occur when viewbinding enable:
Execution failed for task ':app:dataBindingGenBaseClassesDebug'.