Search code examples
androidandroid-studioandroid-support-librarymaterial-components-androidandroid-support-design

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). 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)

enter image description here


Solution

  • 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).

    Just remove it.