react-navigation-shared-element icon indicating copy to clipboard operation
react-navigation-shared-element copied to clipboard

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

Open izzm-vp opened this issue 10 months ago • 1 comments

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

izzm-vp avatar Jan 19 '25 13:01 izzm-vp