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

Issue when importing #8

Open
Mussab00 opened this issue Nov 2, 2021 · 1 comment
Open

Issue when importing #8

Mussab00 opened this issue Nov 2, 2021 · 1 comment

Comments

@Mussab00
Copy link

Mussab00 commented Nov 2, 2021

I'm getting the following issue when importing the library:

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/rive-0.7.33/lib/src/rive.dart:93:11: Error: Superclass has no method named 'dispose'.
super.dispose();
^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/rive-0.7.33/lib/src/rive_scene.dart:84:11: Error: Superclass has no method named 'dispose'.
super.dispose();
^^^^^^^
FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035

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

Process 'command 'C:\src\flutter\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 8s
Exception: Gradle task assembleDebug failed with exit code 1

All i did was adding the dependency to pubspec.yaml and importing the package main.

@zealouszany
Copy link

Same issue being faced. Any way to resolve?

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