-
Notifications
You must be signed in to change notification settings - Fork 476
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
flare_flutter-1.5.0 Error #86
Comments
getting the same error |
This is due to breaking changes in the latest flutter master, these are not present in stable or 1.5.4, so right now we recommend using Flutter version 1.5.4 and soon we'll supply a custom branch that you can use if you are using a more bleeding edge version Flutter. |
You can point your pubspec to our latest dev if you are using a non-stable version of flutter, this will work for the issue above:
|
Running dev still getting this error |
That's odd, it's definitely fixed in dev: Flare-Flutter/flare_flutter/lib/flare.dart Line 914 in c51192d
Maybe try calling flutter pub get one more time. |
Tried flutter clean, deleting pub cache still getting the error :( update - tried on a fresh install of my repo and still getting the same error :/ |
Ah apologies, it looks like the error I am getting is slightly different, the types are swapped. See below
|
Can you run |
ah, i'm using stable. i'll try with master. Here's the doctor results
|
Works with master! |
I had same problems...
|
@JAICHANGPARK please make sure you're on the dev channel of flutter. You can do this on the command line by typing: We are closing this issue as the problem has been fixed. If you are still seeing this error, please make sure you are using the correct branch with the matching flutter channel. The details are clearly provided in our README. |
Compiler message:
file:///Users/yourks/.pub-cache/hosted/pub.flutter-io.cn/flare_flutter-1.5.0/lib/flare.dart:1023:18: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.
Try changing the type of the parameter, or casting the argument to 'Uint16List'.
indices: _indices, textureCoordinates: _uvBuffer);
^
Compiler terminated unexpectedly.
The text was updated successfully, but these errors were encountered: