Help with gradle sync

A problem occurred configuring root project ‘Happry Birthday’.

Could not resolve all files for configuration ‘:classpath’.
Could not download kotlin-compiler-embeddable-1.6.21.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.21)
Could not get resource ‘’.
Tag mismatch!

Found a fix,
Went to SDK manager, and clicked on SDK Update Sites, down in the bottom left it says
Force https://…sources to be fetched using http://…
Clicked that on and it seems to work. Ill edit this if anything changes.

Just have to run it multiple times.