CodePudding user response:
After the rebuild the following message isTask: app: compileDebugJavaWithJavac
Gradle may disable incremental compilation as the following the annotation processors are not incremental: auto - service - 1.0 - rc5. Jar (com. Google. Auto. Services: auto - service: 1.0 - rc5).
Consider setting the experimental feature flag android. EnableSeparateAnnotationProcessing=true in the gradle. The properties file to run the annotation processing in a separate task and make compilation incremental.
I don't know whether associated with this problem?
CodePudding user response:
The gradle. Add android properties. EnableSeparateAnnotationProcessing=true this line of codeCodePudding user response:
Use the one that Google autoService? To use annotationProcessor the library, and if can't find this class, plus compileOnly this library