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

Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/home/user/flutter/bin/flutter'' finished with non-zero exit value 1 #3200

Open
fisforfaheem opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@fisforfaheem
Copy link

  • 'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('../.pub-cache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'canPop'.
    canPop: canPop ?? this.canPop,
    ^^^^^^
    ../.pub-cache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart:170:42: Error: The getter 'onPopInvoked' isn't defined for the class 'GetPage'.
  • 'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart' ('../.pub-cache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/routes/get_route.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPopInvoked'. ../.pub-cache/hosted/pub.dev/get-5.0.0-release-candidate-9.2/lib/get_navigation/src/extension_navigation.dart:272:15: Error: No named parameter with the name 'onPopInvokedWithResult'.
    onPopInvokedWithResult: (didPop, result) =>
    ^^^^^^^^^^^^^^^^^^^^^^
    ../flutter/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.
    const PopScope({
    ^^^^^^^^
    Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/user/flutter/bin/flutter'' 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.

BUILD FAILED in 7s
Error: Gradle task assembleDebug failed with exit code 1

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