Could not inflate Behavior subclass android.support.design.widget.
BottomSheetBehavior How resolve this exception?

If you are using the Androidx Jetpack dependencies then

replace 

app:layout_behavior="android.support.design.widget.BottomSheetBehavior"

with 

app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"