-
Notifications
You must be signed in to change notification settings - Fork 562
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
build failed (flare_flutter/lib/flare.dart:1023) #142
Comments
I also encountered such a problem, hope to be solved |
Hello, This error is due to a breaking change with Flutter master/dev. You are likely using one of those two channels. If you are trying to run the code in this repository, please use the Flutter stable branch by typing this into your terminal:
This is the easiest fix that should get you running very quickly. Alternatively, if you're adventurous, you can try to update the code to use a newer version of Flare (which is compatible with Flutter master/dev) by pointing the Flare-Flutter dependency to the dev branch in GitHub as follows:
We have details about how to do this in our Flare-Flutter readme here: Various other reports of this issue which contain more info, in case anything here is not clear: |
Thank you,it's working! |
flare_flutter: I Use this ,but it's not runing :p |
file:///C:/Users/17080854/AppData/Roaming/Pub/Cache/git/Flare-Flutter-4aebb0ff5b98c7bcf2183c6bac8226cc7ddf5402/flare_flutter/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);
The text was updated successfully, but these errors were encountered: