时间:2021-05-19
网上教程7.0大多数配置是这样compile ‘com.jakewharton:butterknife:7.0.1' ,不知道他们用的Android Studio是多少版本,我用的3.0并没有成功,报错如下:
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-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配置的问题就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
在添加ButterKnife的时候,根据它的Readme配置以后报错:Error:(2,0)Cannotaddextensionwithname'android
前提条件介绍1.android-studio-3.6.1死丢丢配置了dart和flutter插件在3.5.3时成功运行过flutter工程2.flutter版本
前言ButterKnife是一个专注于Android的View注入框架,可以减少大量的findViewById以及setOnClickListener代码,可视
下载地址如下:https://developer.android.com/sdk/installing/studio.html很显然的IntelliJIDEA的
AdobeAudition3.0显示音频输入尚未激活,无法录制音频,请检查输入配置,该怎么解决这个问题呢?下面我们就来就来看看详细的教程。软件名称:adobea