Windows10 x64错误:原因:无法找到请求目标的有效证书路径

时间:2019-05-18 09:25:16

标签: android android-studio-3.0

我的平台是Win10 x64和Android Studio 3.4.1。

我收到此错误

  

原因:org.gradle.api.resources.ResourceException:无法获取   资源   'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'。   在   org.gradle.internal.resource.ResourceExceptions.failure(ResourceExceptions.java:74)   在   org.gradle.internal.resource.ResourceExceptions.getFailed(ResourceExceptions.java:57)   在   org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache(DefaultCacheAwareExternalResourceAccessor.java:201)   在   org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.access $ 300(DefaultCacheAwareExternalResourceAccessor.java:54)   在   org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor $ 1.create(DefaultCacheAwareExternalResourceAccessor.java:89)   在   org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor $ 1.create(DefaultCacheAwareExternalResourceAccessor.java:81)   在   org.gradle.cache.internal.ProducerGuard $ AdaptiveProducerGuard.guardByKey(ProducerGuard.java:97)   在   org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.getResource(DefaultCacheAwareExternalResourceAccessor.java:81)   在   org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadByCoords(DefaultExternalResourceArtifactResolver.java:133)   在   org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadStaticResource(DefaultExternalResourceArtifactResolver.java:97)   在   org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.resolveArtifact(DefaultExternalResourceArtifactResolver.java:64)   在   org.gradle.api.internal.artifacts.repositories.metadata.AbstractRepositoryMetadataSource.parseMetaDataFromArtifact(AbstractRepositoryMetadataSource.java:69)   在   org.gradle.api.internal.artifacts.repositories.metadata.AbstractRepositoryMetadataSource.create(AbstractRepositoryMetadataSource.java:59)   在   org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.resolveStaticDependency(ExternalResourceResolver.java:244)   在   org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver.doResolveComponentMetaData(MavenResolver.java:127)   在   org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver $ RemoteRepositoryAccess.resolveComponentMetaData(ExternalResourceResolver.java:445)   在   org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository $ ResolveAndCacheRepositoryAccess.resolveComponentMetaData(CachingModuleComponentRepository.java:378)   在   org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository $ ErrorHandlingModuleComponentRepositoryAccess.resolveComponentMetaData(ErrorHandlingModuleComponentRepository.java:138)

我无法运行该项目,似乎我必须手动配置所有内容。

0 个答案:

没有答案