Unity gets stuck while building gradle project?,unity freezes while building gradle project

I have recently started working on a project.When I try to build and run the project(which is nearly empty) unity gets stuck on ‘task validateSigningRelease’.

What is the solution?,I am working on a project which is nearly empty.When I try to build and run for android,unity gets stuck on ‘task validateSigningRelease’.

What is the solution?

Did you ever figure this out? I’m having the same issue.

I’m just trying to understand your question so I’m going to ask some pretty basic questions.
Did you supply a valid keystore and insert the password for it in your PlayerSettings under the Publishing Settings?

I had the same problem and that is because my country was blocked due gradle and when I was online the gradle try to connecting to the network which was blocked so it can’t !!
You can use a VPN for solving this issue

I had the same problem and checking “Development Build” fixed it. Of course, if I were building to actually publish, this might still be an issue.