Skip to content

Build error occurs in Android app with React Native 0.80, but it works fine in 0.76. #355

@bluesea906

Description

@bluesea906

Build error occurs in Android app with React Native 0.80, but it works fine in 0.76.

[0.80]
"react": "19.1.0",
"react-native": "0.80.0",
"rive-react-native": "^9.4.0"

[0.76]
"react": "18.3.1",
"react-native": "0.76.0",
"rive-react-native": "^9.4.0"

Task :rive-react-native:compileDebugKotlin FAILED

[Incubating] Problems report is available at: file:///.../Rive80/android/build/reports/problems/problems-report.html

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

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
50 actionable tasks: 3 executed, 47 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

e: file:///.../Rive80/node_modules/rive-react-native/android/src/main/java/com/rivereactnative/RiveReactNativeView.kt:809:36 Argument type mismatch: actual type is 'String?', but 'String' was expected.

FAILURE: Build failed with an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions