Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.supp

来源:互联网 发布:淘宝有卖假的医院证明 编辑:程序博客网 时间:2024/05/29 18:45

AS使用自定义控件时候,报错:Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering


折磨了自己半天,也没明白到底是什么地方错了,自定义控件的时候布局都是复制的人家的东西,所以在布局中引用自定义控件的地方错了,应该引用自己定义的自定义控件的路径,包名+类名,这样就解决了,还是不够细心导致的。

阅读全文
0 0
原创粉丝点击