使用butterknife的BindView时报错@BindView not applicable to type
来源:互联网 发布:c语言爱心代码 编辑:程序博客网 时间:2024/05/16 04:38
使用butterknife的BindView时报错@BindView not applicable to type
@BindView not applicable to type
经过:
编译版本都是23
依赖版本也是23
控制台报的错误是supportv4有多个入口
原因:
compile 'com.jakewharton:butterknife:'需要与编译的版本号所对应
解决办法:
1.将版本号由8.5.0改成8.4.0就行了,即compile 'com.jakewharton:butterknife:8.5.0'改为compile 'com.jakewharton:butterknife:8.4.0'。
2.如果是8.5.0的话,编译版本都改为24,即:
0 0
- 使用butterknife的BindView时报错@BindView not applicable to type
- android使用butterknife InjectView和BindView
- ButterKnife BindView 失败,报错NullPointerException
- 浅析ButterKnife的实现 (三) —— BindView
- ButterKnife 8.0.1 @BindView 失败,nullpointerexception
- ButterKnife 8.0.1 @BindView 失败,nullpointerexception
- ButterKnife 8.4.0 @BindView 失败,nullpointerexception
- ButterKnife 8.0.1 @BindView 失败,nullpointerexception
- Butterknife bindview @OnClick绑定多控件id
- 使用XmlPullParser制作BindView工具
- 使用bindview自动安装passthru驱动的调试笔记
- 使用JAVA向MongoDB中插入数据时报错The method insert(DBObject[]) in the type DBCollection is not applicable
- Android的一个BindView工具的实现
- SimpleAdapter代码学习bindView
- CursorAdapter bindView optimization
- 为什么Android的Adapter中,bindview被调用了多次
- 自己学着写一个BindView来减少findViewById的应用
- 【Android】Android的Adapter中,bindview被调用了多次
- 第十九章 登录文件的轮替(logrotate)
- SVN代码回滚到执行版本
- 第十九章 分析登录文件
- 第二十章 开放源码的软件安装与升级简介
- JAVA高并发秒杀API项目的学习笔记
- 使用butterknife的BindView时报错@BindView not applicable to type
- js模块
- 第二十章 用 make 进行巨集编译
- 如何建设高可用系统
- 第二十章 Tarball 的管理与建议
- win10 远程桌面连接不上本机
- 第二十章 函式库管理
- 【Python学习笔记】-字符串和字典
- redis-cluster集群部署