您的位置:首页 > 移动开发 > Android开发

java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.LinearLayout

2015-07-01 11:03 841 查看
java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.LinearLayout

有两种可能:

1.findviewbyid时转换错误。我的不是这个问题

2.更改了一下添加的控件或者布局id。然后就莫名其妙的好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: