Skip to content

java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to create Jar file /.gradle/caches/jars-9/18366b31678c0171857be093a3b8ec22/bcprov-jdk18on-1.79.jar. #3909

@kaarthicksiyer

Description

@kaarthicksiyer

Description

Hey everyone! I am new to RN so while trying to build my Android app I have been stumbling upon this issue everytime I try to do a ./gradlew clean.

To give some background about the project that I am working on, its a purely native android project with one module that uses RN.

Our RN version is very very old (0.63.2) so I am upgrading it to 0.74. The reason is because of Google's new requirements for the 16kb paging. These are the versions I am using.
"react": "18.2.0",
"react-native": "0.74.0",
"react-native-gesture-handler": "^2.12.0"

I am using AGP 8.1.1 and Gradle 8.2.
For hours, I have been getting this issue from the react-native-gesture-handler and tried so many ways to investigate but none of it worked. Is anyone / has anyone facing / faced this issue?

Steps to reproduce

cd android
./gradlew clean

Unfortunately I cannot provide the repo link as its private and confidential.

Gesture Handler version

2.12.0 and 2.29.0

React Native version

0.74.0

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions