-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Because no versions of charts_flutter match >0.9.0 <0.10.0 and charts_flutter 0.9.0 depends on intl >=0.15.2 <0.17.0, charts_flutter ^0.9.0 requires intl >=0.15.2 <0.17.0. #566
Comments
make the following changes to the app’s pubspec.yaml file:
|
I get Warning: You are using these overridden dependencies: I still get a build failure ../../../flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null. and if I use 0.15.2 then I get: ../../../../.pub-cache/hosted/pub.dartlang.org/intl-0.15.2/lib/src/intl/bidi_formatter.dart:100:25: Error: The getter 'HTML_ESCAPE' isn't defined for the class 'BidiFormatter'.
|
I found the following enabled the build to continue. I kept it as an override to show a warning during pub get. dependency_overrides: intl: '>=0.17.0-nullsafety.2 <= 0.17.0-nullsafety.2' |
I haven't tried this yet, but I think it is a hark way. |
Please release an update :-) |
Get the same problem as well: Because charts_flutter 0.9.0 depends on intl >=0.15.2 <0.17.0 and no versions of charts_flutter match >0.9.0 <0.10.0, charts_flutter ^0.9.0 requires intl >=0.15.2 <0.17.0. Please release an update! Really hope to be able to continue using the package ... |
Facing same issue. I tried downgrading |
Fixed in #605 |
Description
When I run
flutter pub get
, I got this.Because no versions of charts_flutter match >0.9.0 <0.10.0 and charts_flutter 0.9.0 depends on intl >=0.15.2 <0.17.0, charts_flutter ^0.9.0 requires intl >=0.15.2 <0.17.0.
And because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2, charts_flutter ^0.9.0 is incompatible with flutter_localizations from sdk.
So, because bee_bdapp depends on both flutter_localizations any from sdk and charts_flutter ^0.9.0, version solving failed.
pub get failed (1; So, because bee_bdapp depends on both flutter_localizations any from sdk and charts_flutter ^0.9.0, version solving failed.)
Flutter Doctor
[√] Flutter (Channel dev, 1.25.0-4.0.pre, on Microsoft Windows [Version 10.0.19042.630], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Android Studio (version 4.1.0)
[√] Connected device (1 available)
Charts_flutter Version
The text was updated successfully, but these errors were encountered: