Gradle build failed!

Hello
It gives this error when I try to get Android output from an empty project in Unity 2019.4.8
" Gradle build failed ! "
Along with 22 messages about not connecting to the server and downloading and …

The things I did were useless

  1. Delete the .gradle folder from the user path
    2- Download Gradle 5.4.1 and route from unity preferences
    3- Download Grade 6.5 and route from unity preferences
    4- Check the option of development build and development app bundle and without checking they

No one has an opinion?!

Could you select Export Project and see if you can build from Android Studio?

Yes, it does, but I want to output directly by unity