- What went wrong:
Execution failed for task ':app:mergeReleaseNativeLibs'.Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
Could not resolve com.lqr.adapter:library:1.0.2.
Required by:
project :app
Could not resolve com.lqr.adapter:library:1.0.2.
Could not get resource 'https://maven.aliyun.com/repository/public/com/lqr/adapter/library/1.0.2/library-1.0.2.pom'.
Could not GET 'https://maven.aliyun.com/repository/public/com/lqr/adapter/library/1.0.2/library-1.0.2.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. For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation.
Remote host terminated the handshake
Could not resolve com.lqr.adapter:library:1.0.2.
Could not get resource 'https://repo.maven.apache.org/maven2/com/lqr/adapter/library/1.0.2/library-1.0.2.pom'.
Could not GET 'https://repo.maven.apache.org/maven2/com/lqr/adapter/library/1.0.2/library-1.0.2.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. For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation.
Remote host terminated the handshake
Could not resolve com.lqr.adapter:library:1.0.2.
Could not get resource 'https://dl.google.com/dl/android/maven2/com/lqr/adapter/library/1.0.2/library-1.0.2.pom'.
Could not GET 'https://dl.google.com/dl/android/maven2/com/lqr/adapter/library/1.0.2/library-1.0.2.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. For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation.
Required by:
project :app
Cause 1: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.lqr.adapter:library:1.0.2.
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://maven.aliyun.com/repository/public/com/lqr/adapter/library/1.0.2/library-1.0.2.pom'.
at org.gradle.internal.resource.ResourceExceptions.failure(ResourceExceptions.java:74)
at org.gradle.internal.resource.ResourceExceptions.getFailed(ResourceExceptions.java:57)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadByCoords(DefaultExternalResourceArtifactResolver.java:154)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadStaticResource(DefaultExternalResourceArtifactResolver.java:94)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.resolveArtifact(DefaultExternalResourceArtifactResolver.java:60)
at org.gradle.api.internal.artifacts.repositories.metadata.AbstractRepositoryMetadataSource.parseMetaDataFromArtifact(AbstractRepositoryMetadataSource.java:79)
at org.gradle.api.internal.artifacts.repositories.metadata.AbstractRepositoryMetadataSource.create(AbstractRepositoryMetadataSource.java:69)
at org.gradle.api.internal.artifacts.repositories.metadata.DefaultMavenPomMetadataSource.create(DefaultMavenPomMetadataSource.java:40)
at org.gradle.api.internal.artifacts.repositories.metadata.RedirectingGradleMetadataModuleMetadataSource.create(RedirectingGradleMetadataModuleMetadataSource.java:52)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.resolveStaticDependency(ExternalResourceResolver.java:235)
at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver.doResolveComponentMetaData(MavenResolver.java:108)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver$RemoteRepositoryAccess.resolveComponentMetaData(ExternalResourceResolver.java:427)
1 个回复
9***@qq.com
我也遇到了类似问题 我是升级了Hbuilderx版本到4.44导致的 回退到我之前的4.29可以了