我已经下载并开始使用Android Studio海豚|2021.3.1补丁1
配置如下:
classpath 'com.android.tools.build:gradle:7.2.1'
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
C:\Program Files\Android\Android Studio2\jre
在构建应用程序时,出现如下错误:
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: https://docs.gradle.org/7.3.3/userguide/build_environment.html#gradle_system_properties
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
unable to find valid certification path to requested target
1条答案
按热度按时间uhry853o1#
您的项目使用的是Java 8还是Java 11?如果您使用的是Java 8,请迁移到Java 11