Gradle Error - Flutter Project

I am trying to run a new flutter project. Getting the below error. Pls help

Could not resolve all artifacts for configuration ‘:classpath’.

Could not resolve
Required by:
project :
Could not resolve
Could not get resource ‘’.
Could not GET ‘’. PKIX path building failed: unable to find valid certification path to requested target