android x设计依赖

Ruc*_*iya 2 dependencies android androidx

如何导入androidx设计依赖项

我尝试导入: implementation 'androidx.design:design:1.0.2'

应用程序的压缩版本是: implementation 'androidx.appcompat:appcompat:1.0.2'

我有这个错误-

错误:无法解决:androidx.design:design:1.0.2

sat*_*ser 7

要了解旧构建工件中新 Androidx 工件的等效项,请参阅以下链接

https://developer.android.com/jetpack/androidx/migrate/artifact-mappings

注意:Poyyamozhi Ramakrishnan 的回答是正确的,我发布了我的回答以便更好地理解。


Poy*_*nan 6

尝试这个:

implementation 'com.google.android.material:material:1.0.0'
Run Code Online (Sandbox Code Playgroud)