最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

androidstudio3.0使用butterknife報(bào)錯(cuò)解決的解決方法

 更新時(shí)間:2018年01月03日 11:39:11   作者:曉果博客  
這篇文章主要介紹了androidstudio3.0使用butterknife報(bào)錯(cuò)解決的解決方法,非常具有實(shí)用價(jià)值,需要的朋友可以參考下

問(wèn)題

在添加butterKnife依賴(lài)的時(shí)候出現(xiàn)如下錯(cuò)誤:

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 
      }
    }
  }
}

添加上面配置就好…………….

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論

凌源市| 吉木乃县| 侯马市| 晋宁县| 南川市| 泽普县| 西畴县| 柳江县| 西乡县| 乃东县| 海伦市| 田阳县| 平乐县| 曲松县| 岚皋县| 德安县| 南丹县| 绵竹市| 青海省| 伊春市| 芜湖县| 交城县| 平凉市| 任丘市| 荔波县| 西峡县| 镶黄旗| 玉门市| 东丰县| 宜宾市| 衡水市| 嘉兴市| 稻城县| 陵水| 绵竹市| 鄂伦春自治旗| 孝昌县| 明水县| 怀远县| 德惠市| 乌拉特中旗|