国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Android > 正文

解決Android Studio 3.0 butterknife:7.0.1配置的問題

2019-10-22 18:18:41
字體:
來源:轉載
供稿:網友

網上教程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配置的問題就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持VEVB武林網。


注:相關教程知識閱讀請移步到Android開發頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 宜阳县| 颍上县| 漳浦县| 临朐县| 仁布县| 铜陵市| 漾濞| 洛隆县| 临沭县| 元朗区| 赤壁市| 安多县| 鄯善县| 法库县| 濮阳县| 辛集市| 新乐市| 紫金县| 东明县| 烟台市| 龙泉市| 锡林郭勒盟| 康定县| 萨迦县| 靖州| 登封市| 黄大仙区| 新泰市| 嘉义县| 招远市| 麻城市| 邹平县| 响水县| 尉氏县| 滨海县| 平乡县| 望城县| 长治县| 永平县| 兴化市| 太康县|