Search code examples
androideclipseannotationsbutterknife

Butterknife does not create anything in .apt_generated directory


I am trying to use Butterknife for injection, but I do not see any classes generated in the .apt_generated directory.

I am using eclipse Kepler (service release 2), enabled annotation processing in my project properties and defined the butterknife-5.0.0.jar as the annotation processor in the factory path.

I have 2 views injected into a fragment for testing, and when I clean the project it is built but nothing is generated. Checking the log file and the error_log view I don't see anything related..

Any ideas?


Solution

  • I suggest to check if you compile and run your app.

    Or, other parts of your codes may have some errors and the IDE isn't able to build. e.g R.java is missing etc.