摘要: 问题描述:在安卓模拟上运行程序,程序闪退,显示:xx has stopped 提示:Caused by: java.lang.ClassCastException: com.example.cheung.sbulter.MainActivity cannot be cast to android.v 阅读全文
posted @ 2017-07-11 11:49 Cranberries 阅读(722) 评论(0) 推荐(0)
摘要: 问题描述:在安卓模拟上运行程序时,一打开就报错:xx has stopped. 解决办法:根据错误提示java.lang.IllegalArgumentException: Only TabItem instances can be added to TabLayout. 查看MainActivit 阅读全文
posted @ 2017-07-11 07:14 Cranberries 阅读(2362) 评论(0) 推荐(0)