react-native-compressor - SSL handshake exception during request - Stack Overflow

When I try to run 'npx react-native run-android', it throws the error SSL handshake exception

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744665019a4586694.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
['keyword'] : $thread['subject']; $header['description'] = $thread['description'] ? $thread['description'] : $thread['brief']; $_SESSION['fid'] = $fid; if ($ajax) { empty($conf['api_on']) and message(0, lang('closed')); $apilist['header'] = $header; $apilist['extra'] = $extra; $apilist['access'] = $access; $apilist['thread'] = well_thread_safe_info($thread); $apilist['thread_data'] = $data; $apilist['forum'] = $forum; $apilist['imagelist'] = $imagelist; $apilist['filelist'] = $thread['filelist']; $apilist['threadlist'] = $threadlist; message(0, $apilist); } else { include _include(theme_load('single_page', $fid)); } break; default: message(-1, lang('data_malformation')); break; } ?>