androidstudio3.0使用butterknife报错解决
2018-03-04 20:52
330 查看
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-7.0.1.jar 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.
[/code]修改
android { ... defaultConfig { ... javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } } }
[/code]添加上面配置就好…………….
相关文章推荐
- android studio使用ButterKnife 8.0.1报空指针错误以及点击事件无效的解决方法
- Android Studio使用Butterknife时出现空指针问题解决
- Android Studio使用ButterKnife各种错误解决Plugin with id 'android-apt' not found.
- 解决butterknife 依赖库使用的Attribute value must be constant问题
- androidstudio3.0使用butterknife报错解决
- Android Studio使用Butterknife时出现空指针问题解决
- 使用ButterKnife无法inject view的解决办法
- androidstudio3.0使用butterknife报错解决
- Android Studio 3.0使用ButterKnife报错解决
- androidstudio3.0使用butterknife报错解决的解决方法
- androidstudio3.0使用butterknife报错解决
- 【Bug】android Studio使用butterknife报错的解决方法
- androidstudio3.0使用butterknife报错解决
- butterknife8.4空指针异常的解决方法及使用详解
- androidstudio3.0使用butterknife报错解决
- Android使用butterknife注解出现nullPointerException解决
- Android Studio使用ButterKnife注解 出现空指针异常解决办法
- 解决Android3.0以后不能使用butterknife问题
- 解决Androidstudi不能使用butterknife这个插件
- 使用butterknife bind之后依然运行报空指针问题解决方法