mikepenz / MaterialDrawer

The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
https://mikepenz.dev
Apache License 2.0
11.68k stars 2.05k forks source link

AppCompat 1.1.0 No virtual method setCornerRadius #2503

Closed RumataEstorish closed 5 years ago

RumataEstorish commented 5 years ago

About this issue

When updating 'com.google.android.material:material:1.1.0-alpha09' to 'com.google.android.material:material:1.1.0-alpha10'

drawer crashes with exception: java.lang.NoSuchMethodError: No virtual method setCornerRadius(F)V in class Lcom/google/android/material/shape/ShapeAppearanceModel; or its super classes (declaration of 'com.google.android.material.shape.ShapeAppearanceModel'

at com.mikepenz.materialdrawer.model.AbstractDrawerItem.getShapeAppearanceModel(AbstractDrawerItem.kt:419) at com.mikepenz.materialdrawer.model.BaseDescribeableDrawerItem.bindViewHelper(BaseDescribeableDrawerItem.kt:64) at com.mikepenz.materialdrawer.model.AbstractBadgeableDrawerItem.bindView(AbstractBadgeableDrawerItem.kt:51) at com.mikepenz.materialdrawer.model.AbstractBadgeableDrawerItem.bindView(AbstractBadgeableDrawerItem.kt:15) at com.mikepenz.fastadapter.listeners.OnBindViewHolderListenerImpl.onBindViewHolder(OnBindViewHolderListenerImpl.kt:21) at com.mikepenz.fastadapter.FastAdapter.onBindViewHolder(FastAdapter.kt:390)

mikepenz commented 5 years ago

this ticket is a duplicate. This will be fixed in the next RC :)

mikepenz commented 5 years ago

https://github.com/mikepenz/MaterialDrawer/releases/tag/v7.0.0-rc07