I did it, but it was hopeless.
1) Sync Project with gradle files
2) Build -> Clean Project
3) Build -> Rebuild Project
4) File -> Invalidate caches
CodePudding user response:
Looks like a legacy project trying to configure a material component, would you mind trying these?, though I'm not quite sure if they would help or the version would be compatible, but afaik the layout_behavior
is part of the design framework.
If its not androidx, try this
implementation 'com.android.support:design:28.0.0'// latest
if its androidx, try this then
implementation 'com.google.android.material:material:1.8.0-alpha02' //latest
These are the latest versions from maven artifacts com.android.support:design and com.google.android.material:material