IjzerenHein / IjzerenHein/react-navigation-shared-element

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

Open
#287 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

hey guys , im tryin to implement shared element transition between two screen , and everything looks fine and i get no errors in logs , until i try to use a develpment build to test the application , and once i run the command `npm expo run:android` the build starts and once it reach react-native-shared-element the build fails and it gives me the error below, and also once i delete the shared element from my project the build works just fine :

```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-shared-element:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
```

i tried downgrading gradle version and it doesnt work .

i used these dependencies :

react-navigation/native: 7.0.14
react-navigation/stack: 7.1.1
react-navigation-shared-element: 3.1.3
react-native-shared-element: 0.8.9


Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `npm expo run:android` and capture the compiler output for `:react-native-shared-element:compileDebugJavaWithJavac`; the issue provides only the Gradle summary, not the underlying error. Check the listed React Navigation and shared-element dependency versions, and consider the build fixed when the development Android build succeeds with the shared element enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.