Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ‘:classpath’.
Could not resolve com.android.tools.build:gradle:4.1.0.
Required by:
project :
Could not resolve com.android.tools.build:gradle:4.1.0.
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.1.0/gradle-4.1.0.pom’.
Could not HEAD ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.1.0/gradle-4.1.0.pom’.
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: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
BUILD FAILED in 3s
How should I solve this?