androidstudio3.0使用butterknife报错解决的解决方法
2018-01-03 11:39
911 查看
问题
在添加butterKnife依赖的时候出现如下错误:
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.
修改
android { ... defaultConfig { ... javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } } }
添加上面配置就好…………….
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持脚本之家。
您可能感兴趣的文章:
相关文章推荐
- selenium使用send_keys()方法写中文报错的解决方法
- android studio使用ButterKnife 8.0.1报空指针错误以及点击事件无效的解决方法
- iOS ARC使用时注意事项以及报错解决方法
- butterknife8.4空指针异常的解决方法及使用详解
- 邮件系统安装与使用过程中各种报错与问题的详细解决方法
- 使用@Override 报错Multiple markers at this line 的解决方法
- android studio使用ButterKnife 8.0.1报空指针错误以及点击事件无效的解决方法
- android5.0使用requestWindowFeature(Window.FEATURE_NO_TITLE)隐藏标题栏的报错的解决方法
- Pentaho Data Integration(Kettle) 使用MySQL作为资源库报错解决方法
- php使用smtp发送邮件报错Error: Cannot connenct to relay host smtp.163.com Error: ()解决方法
- 【Bug】android Studio使用butterknife报错的解决方法
- 解决Maven 项目报错 java.httpservlet和synchronized使用方法
- Zimbra邮件系统安装与使用过程中各种报错与问题的详细解决方法
- 使用butterknife bind之后依然运行报空指针问题解决方法
- 使用butterknife中遇到的几个问题及解决方法
- 使用androidstudio3.0时butterknife报错解决方法
- selenium使用send_keys()方法写中文报错的解决方法
- 邮件系统安装与使用过程中各种报错与问题的详细解决方法
- MySQL中使用group_concat()函数数据字符过长报错的问题解决方法
- 邮件系统安装与使用过程中各种报错与问题的详细解决方法