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

Bug when using with the latest Flutter #121

Closed
dhirendralab opened this issue Jul 9, 2021 · 6 comments
Closed

Bug when using with the latest Flutter #121

dhirendralab opened this issue Jul 9, 2021 · 6 comments

Comments

@dhirendralab
Copy link

Getting below error with the latest Flutter

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

- package:velocity_x
- package:animator
- package:vxstate
- package:intl
- package:auto_size_text
- package:states_rebuilder
2

For solutions, see https://dart.dev/go/unsound-null-safety
2

FAILURE: Build failed with an exception.

* Where:
Script '/home/dhirendra/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/dhirendra/snap/flutter/common/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.

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

BUILD FAILED in 25s
Exception: Gradle task assembleDebug failed with exit code 1
@iampawan
Copy link
Owner

iampawan commented Jul 9, 2021

Which version of VelocityX you are using?

@dhirendralab
Copy link
Author

using velocity_x: ^1.4.1

@iampawan
Copy link
Owner

iampawan commented Jul 9, 2021

Use the latest version which is 3.3.0

@iampawan iampawan closed this as completed Jul 9, 2021
@Bhaveshpankar
Copy link

Use the latest version which is 3.3.0
thank you so much brother

@gvjkumar2004
Copy link

@iampawan sir, After using the latest velocity version 3.3.0, the VxState listen is showing an error....

@iampawan
Copy link
Owner

Use version 3.6.0 and replace listen with watch

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

4 participants