eclipse导入android-support-v7-recyclerview.jar时报“The hierarchy of the type is inconsistent”错误
来源:互联网 发布:linux 搭建lamp 编辑:程序博客网 时间:2024/05/18 20:49
虽然现在主流是用android studio开发android了,但是有时还是需要用到eclipse的,在eclipse用recycleview时需要导入目录
“AndroidSdk\extras\android\support\v7\recyclerview\libs”下的android-support-v7-recyclerview.jar包,但是导入之后
创建适配器时在类名下报如题的错误,网上搜罗的半天,发现是Android-Support-Library下的v4,v7包版本不一致,v4包太老,
导致相互引用时出错。
解决方法:
打开SDK Manager,升级Android-Support-Library至最新,再把更新后目录“AndroidSdk\extras\android\support\v4“下的v4包重新导入即可。
“AndroidSdk\extras\android\support\v7\recyclerview\libs”下的android-support-v7-recyclerview.jar包,但是导入之后
创建适配器时在类名下报如题的错误,网上搜罗的半天,发现是Android-Support-Library下的v4,v7包版本不一致,v4包太老,
导致相互引用时出错。
解决方法:
打开SDK Manager,升级Android-Support-Library至最新,再把更新后目录“AndroidSdk\extras\android\support\v4“下的v4包重新导入即可。
0 0
- eclipse导入android-support-v7-recyclerview.jar时报“The hierarchy of the type is inconsistent”错误
- Android RecyclerView的案例讲述和"The hierarchy of the type ViewHolder is inconsistent"错误解决
- 在eclipse中如何使用RecyclerView解决The hierarchy of the type LiveCommentViewHolder is inconsistent
- The hierarchy of the type is inconsistent错误
- 解决The hierarchy of the type is inconsistent错误
- 错误处理:The hierarchy of the type MyMethodBeforeAdvice is inconsistent
- The hierarchy of the type is inconsistent错误
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- The hierarchy of the type is inconsistent
- 关于 Eclipse hierarchy of the type is inconsistent错
- java错误:the hierarchy of type "类名" is inconsistent
- 解决hierarchy of the type is inconsistent错误
- RocketMQ broker 注册 IP 问题
- windows和linux安装matplotlib教程
- Android 如何优雅的打印日志
- List<Map<String, Object>>保存的是引用数据类型的地址
- redis 启动服务端和客户端
- eclipse导入android-support-v7-recyclerview.jar时报“The hierarchy of the type is inconsistent”错误
- 发生系统错误 1312 指定的登录会话不存在。可能已被终止 IIS 访问 远程共享目录
- Spring 的优秀工具类盘点:文件资源操作和 Web 相关工具类
- Linux驱动开发(二)——字符设备驱动模型
- 超时的处理——hdu acmstep1.2.7 RightmostDigit
- Linux驱动开发(三)——并发控制
- 1_6_0用栈来求解汉诺塔问题_传统汉诺塔问题求解
- opencv学习笔记(八)彩色视频转换成黑白视频
- Linux驱动开发(四)——I/O操作