jpush-flutter-plugin
jpush-flutter-plugin copied to clipboard
intl 冲突
The current Dart SDK version is 2.12.0.
Because process >=4.0.0-nullsafety.1 <4.0.0-nullsafety.4 requires SDK version >=2.10.0-0.0 <2.12.0 and process >=4.0.0-nullsafety.4 <4.0.0 depends on platform ^3.0.0-nullsafety.4, process >=4.0.0-nullsafety.1 <4.0.0 requires platform ^3.0.0-nullsafety.4.
And because process >=3.0.12 <4.0.0-nullsafety.1 depends on intl >=0.14.0 <0.17.0, process >=3.0.12 <=4.0.0-nullsafety.4 requires platform ^3.0.0-nullsafety.4 or intl >=0.14.0 <0.17.0.
(1) So, because process >=4.0.0 depends on platform ^3.0.0 and jpush_flutter >=0.0.5 depends on platform ^2.0.0, if jpush_flutter >=0.0.5 and process >=3.0.12 then intl >=0.14.0 <0.17.0.
Because path_provider 1.6.18 depends on path_provider_linux ^0.0.1 which depends on xdg_directories ^0.1.0, path_provider 1.6.18 requires xdg_directories ^0.1.0.
Because xdg_directories <0.1.2 depends on process ^3.0.12 and no versions of xdg_directories match >0.1.2 <0.2.0, xdg_directories <0.1.2-∞ or >0.1.2 <0.2.0 requires process ^3.0.12.
Thus, path_provider 1.6.18 requires process ^3.0.12 or xdg_directories 0.1.2.
And because xdg_directories 0.1.2 depends on process >=3.0.12 <5.0.0, path_provider 1.6.18 requires process >=3.0.12 <5.0.0.
And because if jpush_flutter >=0.0.5 and process >=3.0.12 then intl >=0.14.0 <0.17.0 (1), if jpush_flutter >=0.0.5 and path_provider 1.6.18 then intl >=0.14.0 <0.17.0.
And because doctor depends on path_provider 1.6.18, jpush_flutter >=0.0.5 requires intl >=0.14.0 <0.17.0.
So, because doctor depends on both intl 0.17.0 and jpush_flutter 0.6.3, version solving failed.
pub get failed (1; So, because doctor depends on both intl 0.17.0 and jpush_flutter 0.6.3, version solving failed.)
pubspec.yaml文件需要全部升级下,包括以下几个 environment dependencies dev_dependencies @raoxudong @Lanch92 @javenfang @lethe555 @huangminlinux
抓紧的,跟紧2.0.1步伐,😄
pubspec.yaml文件需要全部升级下,包括以下几个
怎么升级 environment: sdk: ">=2.7.0 <3.0.0" 这个不用变吧
pubspec.yaml文件需要全部升级下,包括以下几个 environment dependencies dev_dependencies @raoxudong @Lanch92 @javenfang @lethe555 @huangminlinux
dependencies 的话就只有 jpush_flutter 出现这个错误
我只是将 intl 的版本改为 ^0.17.0 然后 pub get 就报错。但是去掉 jpush_flutter 的版本限制后,能够 pub get 成功,但是 jpush_flutter 版本变成了 0.0.3。这是什么逻辑
我在升级中也遇到了同样的问题,jpush似乎目前是只能支持platform 2.0.0
有大神解决了2.0版本冲突的大神,能不能分享一下解决依赖插件兼容的详细步骤
对啊 求支持一下3.0
有大神解决了2.0版本冲突的大神,能不能分享一下解决依赖插件兼容的详细步骤
dependency_overrides:
intl: 0.17.0-nullsafety.2