找不到类'android.graphics.drawable.RippleDrawable'android studio 2.2.3 [英] Could not find class 'android.graphics.drawable.RippleDrawable' android studio 2.2.3
本文介绍了找不到类'android.graphics.drawable.RippleDrawable'android studio 2.2.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
找不到从方法android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering引用的类'android.graphics.drawable.RippleDrawable'
Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
推荐答案
检查您的主题配置.所有主题都必须具有AppCompat的父项.
check your themes config. all themes must have a parent from AppCompat.
像这样:
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:actionMenuTextColor">@android:color/white</item>
</style>
如果未指定父级,则appcompat库将无效.
if you not specify the parent, the appcompat lib would have no effect.
这篇关于找不到类'android.graphics.drawable.RippleDrawable'android studio 2.2.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文