You must supply a layout_width attribute.解决办法
公司项目调试运行没有问题,可当打release版本的apk时,一直报错,定位到一个自定义控件,说You must supply a layout_width attribute,然后崩掉,打debug版本就不出这个问题。百思不得其解,上网搜索,出现这个问题的蛮多,主要原因有1.layout_width属性确实没有定义2.xmlns:android="http://schemas.andro
原创
2015-07-24 22:53:59 ·
11308 阅读 ·
1 评论