Build error occurs in Android app with React Native 0.80, but it works fine in 0.76.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- kotlin, react-native
- Domain
- mobile-dev
Research direction
The failure is reported at node_modules/rive-react-native/android/src/main/java/com/rivereactnative/RiveReactNativeView.kt:809. Start by inspecting that Kotlin call and comparing the React Native 0.76 and 0.80 dependency setups. Done means the Android app builds with React Native 0.80 without the String? versus String compilation error.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rive-app/rive-react-native
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rive-app/rive-react-native#433 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
rive-app/rive-react-native#431 · 2 comments ·
-
[Android] Rive events dispatched off the UI thread can deadlock with Reanimated under Fabric (ANR) Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
rive-app/rive-react-native#444 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
rive-app/rive-react-native#441 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rive-app/rive-react-native#440 ·
All issues in rive-app/rive-react-native
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·