Configurations of root not working. Causing Build error

Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ‘:classpath’.
Could not resolve
Required by:
project :
Could not resolve
Could not get resource ‘’.
Could not HEAD ‘’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
PKIX path building failed: unable to find valid certification path to requested target


How should I solve this?

Try running Gradle with a different or reinstalled Java installation. Maybe there is something wrong with the trusted root certificates in your Java installation.

Alright. I’ll try that. Thank you!