1.类转换异常,TextView控件不能转换成Button控件
Class Cast Exception: android.widget.TextView cannot be cast to android.widget.Button
报错位置:
相应的布局文件:
解决方法:删除R文件,clean下工程就可以了。(我就clean了下工程)。
1.类转换异常,TextView控件不能转换成Button控件
Class Cast Exception: android.widget.TextView cannot be cast to android.widget.Button
报错位置:
相应的布局文件:
解决方法:删除R文件,clean下工程就可以了。(我就clean了下工程)。