My application worked fine until I tried to add a library to it. After I added the library, Android Studio gives me the following error:
Error:(26) No
For those who use AndroidX and don't want to add the old library:
com.android.support:design:28.0.0
you can add instead:
implementation 'com.google.android.material:material:1.0.0'
and use it like this:
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"