问题
Below image clarify my question. I was try multiples of times to import design library in android studio lastest version 29 (android x) but library does'nt work kindly tell me the design library for androidx 29.
回答1:
You can use : -
implementation 'com.google.android.material:material:1.0.0' library in androidx for design.
回答2:
The library androidx.design:design:1.0.0
doesn't exist.
You have to use the Material Components library.
Material Components for Android is a drop-in replacement for Android's Design Support Library.
Add one of these in your build.gradle
:
implementation 'com.google.android.material:material:1.1.0-beta01' //beta
implementation 'com.google.android.material:material:1.0.0' //stable
来源:https://stackoverflow.com/questions/58538697/i-want-to-import-design-library-in-androidx-29-versionlatest-version