Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#355 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
kotlin, react-native
Lĩnh vực
mobile-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

triage

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.

Ngôn ngữ chính
TypeScript
Star
785
Fork
81
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rive-app/rive-react-native

Tất cả issue của rive-app/rive-react-native

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.