I am getting the following error while building the project. haven\'t used CoordinatorLayout in this project. just added as a dependency in build.gradle :
I am usin
It worked when I downgrade the support appcompat gradle dependency, like follwing :
implementation 'com.android.support:appcompat-v7:27.0.2'
previously it was
implementation 'com.android.support:appcompat-v7:27.1.0'
OR
Also this can be fixed by just adding support design dependency
of version 27.1.0 or above to your app level build.gradle as following :
implementation 'com.android.support:design:27.1.0'