简体   繁体   English

添加 com.android.support:design:28.0.0 依赖

[英]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.

相关问题 为什么 gradle 没有实现 com.android.support:design:28.0.0 来添加 TextInputLayout? - Why does gradle not implementing com.android.support:design:28.0.0 for adding TextInputLayout? 无法解析 com.android.support:design 28.0.0 - Could not resolve com.android.support:design 28.0.0 'com.android.support:design:28.0.0 的 Androidx 问题 - Androidx problem with 'com.android.support:design:28.0.0 使用com.android.support:design:28.0.0的setOnTabSelectedListener崩溃 - Crash on setOnTabSelectedListener with com.android.support:design:28.0.0 无法解析com.android.support:design:28.0.0 - Could not resolve com.android.support:design:28.0.0 Maven:com.android.support:support-annotations:28.0.0的依赖项收敛错误 - Maven: Dependency convergence error for com.android.support:support-annotations:28.0.0 com.android.support:design:28.0.0 - 版本 28 是旧版支持库的最后一个版本 - com.android.support:design:28.0.0 - Version 28 is the last version of the legacy support library 更新实现'com.android.support:design:28.0.0'后,此item.setShiftingMode(false); 已被删除 - After updating implementation 'com.android.support:design:28.0.0' this item.setShiftingMode(false); has been removed 将依赖项“ com.google.android.gms:play-services-location:15.0.1”添加到“ com.android.support:appcompat-v7:28.0.0”后,遇到了错误 - After adding dependency “com.google.android.gms:play-services-location:15.0.1 ” facing error to “com.android.support:appcompat-v7:28.0.0” com.android.support:design:28.0.0产生错误,因为错误膨胀了类TextInputLayout - com.android.support:design:28.0.0 was producing error as Error inflating class TextInputLayout
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM