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

compiler error #21

Closed
amjadalfawal opened this issue Oct 6, 2019 · 1 comment
Closed

compiler error #21

amjadalfawal opened this issue Oct 6, 2019 · 1 comment

Comments

@amjadalfawal
Copy link


Compiler message:
/D:/fullter/.pub-cache/git/Flare-Flutter-6606b73bf4f7b87105a6febfbb5f2167cf8b8977/flare_flutter/lib/flare.dart:580:14: Error: The method 'FlutterActor.makeShapeNode' has fewer positional arguments than those of overridden method 'Actor.makeShapeNode'.
ActorShape makeShapeNode() {
^
/D:/fullter/.pub-cache/git/Flare-Flutter-e3d2414dfbd25e632510dad6959a1c18c2d585f8/flare_dart/lib/actor.dart:68:14: Context: This is the overridden method ('makeShapeNode').
ActorShape makeShapeNode(ActorShape source) {
^
Compiler failed on D:\flutter\flutter_ui_challenges\lib\main.dart

FAILURE: Build failed with an exception.

  • Where:
    Script 'D:\fullter\packages\flutter_tools\gradle\flutter.gradle' line: 765

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebugX86'.

Process 'command 'D:\fullter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 11s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 11.7s
Gradle task assembleDebug failed with exit code 1

@lohanidamodar
Copy link
Owner

@amjadalfawal This is because of old Flutter Flare dependency. Which is already fixed in our repository. Pull the latest code from repository (check pubspec.yaml for flare_flutter: 1.5.9), and if the issue still exists do flutter clean before building.
If the problem still exists do reopen the issue.

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

2 participants