I need to solve this problem.

Please install the Android Support Repository from the Android SDK Manager. Open Android SDK Manager
I need to solve this problem.

Please install the Android Support Repository from the Android SDK Manager. Open Android SDK Manager
Copyright © 2021 Jogjafile Inc.
It clearly says, Install Android Support Repository.
In your Android Studio, just open, Tools -> Android -> SDK Manager
Here you can find it, Extras -> Android Support Repository