Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package. #364

Open
asafgo opened this issue Aug 7, 2024 · 16 comments

Comments

@asafgo
Copy link

asafgo commented Aug 7, 2024

App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package with error:

/C:/Users/yyyy/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
UnmodifiableUint8ListView(Uint8List(0));

Please update the package to use archive: ^3.6.1

@simeonangelov94
Copy link

Same here.

@najibkr
Copy link

najibkr commented Aug 8, 2024

Facing the same issue...

/~/.pub-cache/hosted/pub.dev/archive-3.1.1/lib/src/bzip2/bzip2.dart:9:7:
Error: Method not found: 'UnmodifiableInt32ListView'.
UnmodifiableInt32ListView(Int32List(0));

@x1d3veloper
Copy link

same issue for me with excel 4.0.2 and flutter 3.24.0

@asafgo
Copy link
Author

asafgo commented Aug 8, 2024

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

@ps6067966
Copy link

+1

@KirubaKaran2001
Copy link

KirubaKaran2001 commented Aug 9, 2024

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

Application will be compiled but excel download functionality is not working.

@Tom-ne
Copy link
Contributor

Tom-ne commented Aug 9, 2024

same here

@frankylee
Copy link

Also seeing this issue.

@mikeesouth
Copy link

As a temporary workaround, it seems to work to use archive 3.6.1 as a dependency override.

Use the 3.6.1 version in the yaml dependencies:

  archive: 3.6.1

Add an override section with archive 3.6.1:

dependency_overrides:
  # Remove this override when the excel package releases 4.0.4+
  archive: 3.6.1

@adaonder
Copy link

@FauconSpartiate @justkawal Please I am waiting update.

@jmguazzo
Copy link

@FauconSpartiate @justkawal

The version on pub.dev is 4.0.4 with archive: 3.4.9.

The fix for archive: ^3.4.10 is for version 4.0.6 which is not on pub.dev.

Could you publish the new version on pub.dev ?

@FauconSpartiate
Copy link
Contributor

Only @justkawal has the permissions

@justkawal
Copy link
Owner

Only @justkawal has the permissions

Doing it today, Sorry for the delay.

@Carapacik
Copy link

@justkawal any news?

@BlastTea
Copy link

Use this temporarily in pubspec.yaml until released to pub.dev

dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

@Istiak-Ahmed78
Copy link

Istiak-Ahmed78 commented Aug 18, 2024

Use this temporarily in pubspec.yaml until released to pub.dev

dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

Doing this, working fine now. But please update the package and release a permanent solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests