Failed to resolve: com.google.android.material:material:1.0.0-alpha1

前端 未结 6 2027
暗喜
暗喜 2020-12-17 08:36

So I\'m following the official documentation to add the Material Components library to my project https://github.com/material-components/material-components-android/blob/mas

6条回答
  •  旧巷少年郎
    2020-12-17 09:40

    Make sure your gradle.properties enabled AndroidX using the following Line:

    android.useAndroidX = true
    

    If not added then add this line and sync project again

    Visit For More Details

提交回复
热议问题