Skip to content

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

@izzm-vp

Description

@izzm-vp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions