解决Android Studio 3.0 butterknife:7.0.1配置的问题

解决Android Studio 3.0 butterknife:7.0.1配置的问题,第1张

概述网上教程7.0大多数配置是这样compile‘com.jakewharton:butterknife:7.0.1\',不知道他们用的AndroidStudio是多少版本,我用的3.0并没有成功,报错如下:

网上教程7.0大多数配置是这样compile ‘com.jakewharton:butterknife:7.0.1' ,不知道他们用的AndroID Studio是多少版本,我用的3.0并没有成功,报错如下:

Error:Execution Failed for task ‘:app:java@R_46_3013@eBUG'.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 (com.jakewharton:butterknife:7.0.1) 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.

解决办法:加上 annotationProcessor ‘com.jakewharton:butterknife:7.0.1'即可解决

以上这篇解决AndroID Studio 3.0 butterknife:7.0.1配置的问题就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持编程小技巧。

总结

以上是内存溢出为你收集整理的解决Android Studio 3.0 butterknife:7.0.1配置的问题全部内容,希望文章能够帮你解决解决Android Studio 3.0 butterknife:7.0.1配置的问题所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1143266.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-31
下一篇2022-05-31

发表评论

登录后才能评论

评论列表(0条)

    保存