[英]adding com.android.support:design:28.0.0 dependency
I am trying to add Floating Edit text to my app.我正在尝试将浮动编辑文本添加到我的应用程序中。 For this have added 'com.android.support:design:28.0.0' dependency to my build.gradle (;app).为此,在我的 build.gradle (;app) 中添加了 'com.android.support:design:28.0.0' 依赖项。 I'm getting this following error if try to run the project.如果尝试运行该项目,我会收到以下错误。 if need to refactor>Migrate to androidX:(please guide me to the process)如果需要重构>迁移到 androidX:(请指导我的过程)
You don't need this dependency since you are using the Material components library (it is a drop-in replacement for Android's Design Support Library).您不需要此依赖项,因为您使用的是Material 组件库(它是 Android 设计支持库的直接替代品)。
Just remove it.只需将其删除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.