摘要:
android.view.InflateException: Binary XML file line #2: Error inflating class 的解决方法java.lang.RuntimeException:UnabletostartactivityComponentInfo{cn.xs... 阅读全文
posted @ 2014-09-28 16:55
Lechance
阅读(659)
评论(0)
推荐(0)
摘要:
抛出异常时的main.xml与自定义View类相关代码如下:main.xml继承View的类Chessboard.java:对于此异常,如下进行修改:添加View类的另一个构造方法如上,问题解决了。。。 阅读全文
posted @ 2014-09-28 11:13
Lechance
阅读(345)
评论(0)
推荐(0)

浙公网安备 33010602011771号