Android Studio在海豚版本上构建失败

fquxozlt  于 2022-11-16  发布在  Android
关注(0)|答案(1)|浏览(266)

我已经下载并开始使用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
uhry853o

uhry853o1#

您的项目使用的是Java 8还是Java 11?如果您使用的是Java 8,请迁移到Java 11

相关问题