![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android中遇到的异常总结
奋斗之路
苦心人天不负卧薪尝胆三千越甲可吞吴,有志者天不负釜底抽薪百二秦川终属楚。
展开
-
Custome View is not using the 2-or-3-argumentView constructors
今天在自定义一个View的时候遇到一个问题我把自定义的view写到布局下如下所示:结果运行就崩溃,查看了下布局文件才发下报了以下错误导致这个错误的原因是在自定义view的时候没有写它的2个或3个参数的构造方法我只写了它的一个参数的方法public class DrawWalkClockView extends View { private sta原创 2015-04-03 17:15:44 · 1683 阅读 · 0 评论 -
Could not find class 'com.example.adapter.MyCursorAdapter' referenced from method com.example..
低调是最牛逼的炫耀!!原创 2015-04-10 20:09:49 · 1292 阅读 · 0 评论