Can't find android.support.design.widget.Snackbar in support design library

前端 未结 11 938
南方客
南方客 2021-02-02 05:31

I develop own library module where I use Snackbar.

Here is my Gradle file:

apply plugin: \'com.android.library\'

android {
    compileSdkV         


        
11条回答
  •  独厮守ぢ
    2021-02-02 06:17

    Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
    implementation 'com.android.support:design:27.1.1'

提交回复
热议问题