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

flutter_test from sdk is incompatible with flame >=0.24.0 #17

Closed
wenxiangjiang opened this issue Jul 4, 2020 · 4 comments
Closed

flutter_test from sdk is incompatible with flame >=0.24.0 #17

wenxiangjiang opened this issue Jul 4, 2020 · 4 comments

Comments

@wenxiangjiang
Copy link

Hello, flutter_test from sdk is incompatible with flame >=0.24.0. Can you help me?

Because every version of flutter_test from sdk depends on xml 3.6.1 and tiled >=0.4.0 depends on xml ^4.2.0, flutter_test from sdk is incompatible with tiled >=0.4.0.

And because flame >=0.24.0 depends on tiled ^0.6.0, flutter_test from sdk is incompatible with flame >=0.24.0.

So, because simiapp depends on both flame ^0.24.0 and flutter_test any from sdk, version solving failed.
pub get failed (1; So, because flutter_app depends on both flame ^0.24.0 and flutter_test any from sdk, version solving failed.)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.4 19E287, locale
    zh-Hans-CN)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Community Edition (version 2020.1.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.42.1)
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.
@wenxiangjiang
Copy link
Author

Sorry. I delete flutter_test, it's done.

@luanpotter
Copy link
Member

@wenxiangjiang from where did you delete it? is it something we need to fix on the package side?

@erickzanardo
Copy link
Member

Current Flutter's stable channel test library uses xml 3.x version, and this package uses 4.x. Making this incompatible with the Flutter 1.7.x flutter_test library, you have two alternatives here:

  • Move to the beta channel (my personal recomendation)
  • Remove the flutter_test library from your pubspec, and use this instead: https://pub.dev/packages/test

@wenxiangjiang
Copy link
Author

@luanpotter I just delete flutter_test from my pubspec.yaml.

@erickzanardo Thanks a lot.

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

3 participants