flame-engine / tiled.dart

A Dart Tiled library. Parse your TMX files into useful representations. Compatible with Flame.
https://flame-engine.org/
MIT License
50 stars 30 forks source link

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

Closed wenxiangjiang closed 4 years ago

wenxiangjiang commented 4 years ago

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 commented 4 years ago

Sorry. I delete flutter_test, it's done.

luanpotter commented 4 years ago

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

erickzanardo commented 4 years ago

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:

wenxiangjiang commented 4 years ago

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

@erickzanardo Thanks a lot.