美文网首页
关于eclipse使用android butterknife流程

关于eclipse使用android butterknife流程

作者: 笨coco | 来源:发表于2016-05-05 13:45 被阅读417次
  1. 下载butterknife加入到你的libs中,构建到你的项目中,此时还不能注解成功,必须进行2配置

  2. 选择你的项目右键---->properties----->java compiler------>选中Annotation Processing------->勾选enable project specific settings

  3. 展开Annotation Processing------>选中Factory Path ---->勾选enable project specific settings------>add JARs------>选中你的butterknife.jar

相关文章

网友评论

      本文标题:关于eclipse使用android butterknife流程

      本文链接:https://www.haomeiwen.com/subject/kwedrttx.html