admin管理员组文章数量:1389825
When I try to run 'npx react-native run-android', it throws the error SSL handshake exception during request. Complete stacktrace is as follows:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve com.github.banketree:AndroidLame-kotlin:v0.0.4.
Required by:
project :app
> Could not resolve com.github.banketree:AndroidLame-kotlin:v0.0.4.
> Could not get resource '.0.4/AndroidLame-kotlin-v0.0.4.pom'.
> Could not GET '.0.4/AndroidLame-kotlin-v0.0.4.pom'.
> Got SSL handshake exception during request. It might be caused by SSL misconfiguration
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.github.banketree:AndroidLame-kotlin:v0.0.4.
> Could not get resource '.0.4/AndroidLame-kotlin-v0.0.4.pom'.
> Could not GET '.0.4/AndroidLame-kotlin-v0.0.4.pom'.
> Got SSL handshake exception during request. It might be caused by SSL misconfiguration
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Below is the output of java -version
openjdk version "17.0.14" 2025-01-21 LTS
OpenJDK Runtime Environment Corretto-17.0.14.7.1 (build 17.0.14+7-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.14.7.1 (build 17.0.14+7-LTS, mixed mode, sharing)
build.gradle has the below line.
implementation("com.github.banketree:AndroidLame-kotlin:v0.0.4")
settings.gradle has the below lines.
include ':react-native-compressor' project(':react-native-compressor').projectDir = new File(rootProject.projectDir,'../node_modules/react-native-compressor/android')
I even manually tried adding the cacert into java store from jitpack, What am I missing?
本文标签: reactnativecompressorSSL handshake exception during requestStack Overflow
版权声明:本文标题:react-native-compressor - SSL handshake exception during request - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744665018a2618476.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论