flutter run error
cppfuns opened this issue · comments
$ flutter run
Downloading android-arm-profile/linux-x64 tools... 2,403ms
Downloading android-arm-release/linux-x64 tools... 601ms
Downloading android-arm64-profile/linux-x64 tools... 463ms
Downloading android-arm64-release/linux-x64 tools... 541ms
Downloading android-x64-profile/linux-x64 tools... 472ms
Downloading android-x64-release/linux-x64 tools... 861ms
Downloading Web SDK... 4.2s
Because mockito >=4.1.1+1 <4.1.2 depends on test_api >=0.2.1 <0.4.0 and mockito >=4.0.0 <=4.1.1 depends on test_api ^0.2.1, mockito >=4.0.0 <4.1.2 requires test_api >=0.2.1 <0.4.0.
And because mockito >=4.1.2 <=5.0.0-nullsafety.7 depends on test_api ^0.2.19-nullsafety and every version of flutter_test from sdk depends on test_api 0.4.1, flutter_test from sdk is incompatible with mockito >=4.0.0 <=5.0.0-nullsafety.7.
So, because tw_wallet_ui depends on both mockito ^4.1.1 and flutter_test any from sdk, version solving failed.
Running "flutter pub get" in TWallet...
pub get failed (1; So, because tw_wallet_ui depends on both mockito ^4.1.1 and
flutter_test any from sdk, version solving failed.)
the error mean flutter sdk version is too new when i used?
We have upgraded the flutter to 3.0.5 and embraced the null safety features. please try this new version