问题
Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
回答1:
check your themes config. all themes must have a parent from AppCompat.
like this:
<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>
if you not specify the parent, the appcompat lib would have no effect.
来源:https://stackoverflow.com/questions/42448661/could-not-find-class-android-graphics-drawable-rippledrawable-android-studio-2