Adding annotationProcessor baseModule 'com. Jakewharton: butterknife - compiler: 10.2.1' this dependence, the main module used in butterknife, compile time no problem, a run will collapse, debugging is found butterknife didn't work, all view objects by @ BindView assignment is empty; But now I've annotationProcessor 'com. Jakewharton: butterknife - compiler: 10.2.1' the dependence, there is no this kind of mistake in your ascension to the main module, every brother please give directions, thank you very much,
CodePudding user response:
AnnotationProcessor this command is used to according to yuan notes to create and edit a Java class, for dependency injection, and help you complete the findViewById, you don't put on he wants to use the module, he won't generate the Java classes,