nativeapi 0.5.10 does not compile on Dart 3.14 and Flutter 3.50.0: Isolate.create not found

Đang mở
#31 1 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
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter
Lĩnh vực
backend, desktop

Hướng nghiên cứu

Start with lib/src/run_native_app.dart at line 45, where Isolate.create is reported missing, and check how the package uses that API with the reported Dart 3.14.0 and Flutter 3.50.0 versions. Reproduce the Windows build failure, then identify a compatible fix and verify that the app builds and starts.

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

Mô tả

Flutter 3.50.0
Dart 3.14.0
DevTools 2.61.0

/C:/.........../AppData/Local/Pub/Cache/hosted/pub.dev/nativeapi-0.5.10/lib/src/run_native_app.dart(45,25): error G75B77105: Member not found: 'Isolate.create'. [C:...........\build\windows\x64\flutter\flutter_assemble.vcxproj]
C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:...........\build\windows\x64\CMakeFiles\3537feb40f5452e17af1a7fdce3108c1\flutter_windows.dll.rule;C:...........\build\windows\x64\CMakeFiles\ba5f0cb2594d09db37eb54a53e511295\flutter_assemble.rule' exited with code 1. [C:...........\build\windows\x64\flutter\flutter_assemble.vcxproj]
Error: Build process failed.
App failed to start

Could you help, please?
Thank in advance.

Ngôn ngữ chính
TypeScript
Star
172
Fork
16
Merge trung bình
40 phút
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 libnativeapi/nativeapi

Tất cả issue của libnativeapi/nativeapi

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.