BitmapDrawable cannot be cast to android.graphics.drawable.AnimationDrawable解决办法
来源:互联网 发布:long转date java 编辑:程序博客网 时间:2024/04/29 10:37
错误提示:
java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable cannot be cast to android.graphics.drawable.AnimationDrawable
最后找到Activity的代码,
原来drawable的资源放错啦,应该是drawable下面的xml的名字,改为
就可以啦。
drawable的目录结构。
0 2
- BitmapDrawable cannot be cast to android.graphics.drawable.AnimationDrawable解决办法
- StateListDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
- cannot be cast to
- cannot be cast to android.widget.HeaderViewListAdapter
- cannot be cast to android.app.Fragment
- cannot be cast to android.widget.HeaderViewListAdapter
- android.app.Application cannot be cast to
- cannot be cast to android.widget.HeaderViewListAdapter
- cannot be cast to android.widget.HeaderViewListAdapter
- cannot be cast to android.widget.HeaderViewListAdapter
- cannot be cast to android.widget.HeaderViewListAdapter
- cannot be cast to android.widget.HeaderViewListAdapter
- android.widget.HeaderViewListAdapter cannot be cast to ***
- android.os.BinderProxy cannot be cast to com.android.server.am.Activit 解决办法
- java.lang.ClassCastException: android.widget.ImageView cannot be cast to android.widget.TextView解决办法
- actionbar出现java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to 的解决办法
- ClassCastException: $Proxy0 cannot be cast to (com......) 的解决办法
- cannot be cast to java.lang.Comparable解决办法
- Android 实现图片缓存异步加载框架学习笔记
- C# GDI+ 绘图
- POJ1160 Post Office 动态规划
- 雷军在联想的演讲:全场无言,除了掌声!
- extern "C"的用法解析
- BitmapDrawable cannot be cast to android.graphics.drawable.AnimationDrawable解决办法
- 来看看国外招聘WEB前端工程师的帖子都写了什么
- 街区最短路径问题
- 给程序员介绍一些C++开源库
- jdk的安装和配置
- 魅族收费sdk demo报错解决方式
- Android的简单文件存储
- jtrp的使用指南
- ubuntu 12.04搭建tftp服务器的安装、设置、调试