Caused by: android.view.InflateException: Binary XML file line #150: Could not inflate Behavior subclass android.support.design.widget.BottomSheetBehavior
Caused by: java.lang.RuntimeException: Could not inflate Behavior subclass android.support.design.widget.BottomSheetBehavior
我的是因為升級AndroidX 的問題
xml布局中
app:layout_behavior="android.support.design.widget.BottomSheetBehavior"
改成
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"