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
I am using Androidx,so i implemented implementation 'com.google.android.material:material:1.1.0-alpha05'
but its still giving me error Unresolved class @string/appbar_scrolling_view_behavior
so i found just Invalidate caches / Restart
Quickest way to do that is File → Invalidate caches / Restart... → Just Restart.
I hope its help you.
Note: In Android Studio v3.4 showing app:layout_behavior="@string/appbar_scrolling_view_behavior" Unresolved class @string/appbar_scrolling_view_behavior but work when you run your app.