Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKhoa Nguyen
4,735 PointsUnable to get downloaded StormyLists to work
I am not sure what i need to do to get this project to work
Error:Execution failed for task ':app:javaPreCompileDebug'.
Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-6.0.0.jar (com.jakewharton:butterknife:6.0.0) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future. See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.
1 Answer
Seth Kroger
56,413 PointsFor butterknife now you need to have an additional line in build.gradle for 'annotationProcessor' as well as 'compile'. All that really needs to be done is to duplicate the 'compile' line and change compile to annotationProcessor.
Khoa Nguyen
4,735 PointsKhoa Nguyen
4,735 PointsI don't think I understand your answer. I don't really understand Android studio nor Android enough to make this to work