I've just updated Android Studio from 1.5 to 2.2.1 and same for Gradle. I have a project which uses an annotation processor framework (made by me) to do Dagger like Dependency Injection.
This used to work just fine before the update, but now Gradle is not able to resolve the generated classes (although they are generated and the Android Studio editor links them correctly) and thus I'm not able to build the project.
I've tried to Google and found lots of similar problems but none solved mine.
Can anyone tell me if this is a known bug or if something had changed? Thank you very much.
EDIT
Here's a screenshot:
As you can see, the error is the class co.aurasphere.revolver.Revolver not found, but you can see the class on the left (under build/generated/source/apt/debug) and the editor is linking it correctly (if I over on it pressing CTRL the link points to the generated class).
The precise error I get is "error: cannot find symbol".
来源:https://stackoverflow.com/questions/39984930/gradle-build-not-resolving-generated-classes