I tried to implement the below dependency and also checked that these 2 are added at all project repositories, but i still get the same error when i try to build the gradle.
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }


^ I used implementation 'androidx.legacy:legacy-support-v4:1.0.0' because the original implementation of implementation "com.android.support:design:28.0.0"
keeps giving me an error of "[Version 28 is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraies", I found a solution on stackoverflow and changed to that in the picture instead.