Open ffamar opened 3 months ago
+1 Check PR
Facing the same issue...
Please, upgrade image and archive package dependencies to the latest versions.
/~/.pub-cache/hosted/pub.dev/archive-3.1.1/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'. UnmodifiableInt32ListView(Int32List(0));
/C:/Users/ps606/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'. UnmodifiableInt32ListView(Int32List(0));
Same issue. +1
yup same here
../../../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'. UnmodifiableUint8ListView(Uint8List(0)); ^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:7:7: Error: Method not found: 'UnmodifiableUint32ListView'. UnmodifiableUint32ListView(Uint32List(0)); ^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'. UnmodifiableInt32ListView(Int32List(0)); ^^^^^^^^^^^^^^^^^^^^^^^^^ same here
Update to the latest version of the pdf library, it's compatible with the latest Flutter version.
Update to the latest version of the pdf library, it's compatible with the latest Flutter version.
only if you update dependenciìy archive-3.4.10 to archive-3.5.0 or later
Any news on the new version?
Update to the latest version of the pdf library, it's compatible with the latest Flutter version.
The latest version of the PDF Library still includes the archive 3.4.10.
if you want to update flutter and dependencies for now you should modify the library and import it as a package via assets (I solved it like this while waiting for an official update). For example:
pdf: path: ./assets/packages/pdf-3.11.1-custom
dependency_overrides: archive: ^3.6.1
@DavBfr just to ping you about this as it is reproducible with Flutter 3.24. If anyone has this issue just check the above solution provided by @rakib205
After upgrading Flutter to version 3.24.0, there is an incompatibility with archive 3.4.10 included by the latest pdf package. It seems that the latest version of the archive package has solved this issue. Probably, a new version of the pdf package is necessary.
The build error:
The dependencies: