`Dart 2.10.5 is incompatible with your dependencies' SDK constraints` even setting `sdk: '>=2.10.5 <3.0.0'`
iapicca opened this issue · 0 comments
iapicca commented
francesco@francesco-yoga720:~/projects/yak_packages/yak_runner$ pub run test_coverage
Dart 2.10.5 is incompatible with your dependencies' SDK constraints. Please run "pub get" again.
environment:
sdk: '>=2.10.5 <3.0.0'
dependencies:
meta: ^1.2.4
dev_dependencies:
test: ^1.15.7
mockito: ^4.1.3
test_coverage: ^0.4.2
[✓] Flutter (Channel master, 1.26.0-18.0.pre.156, on Linux, locale en_US.UTF-8)
• Flutter version 1.26.0-18.0.pre.156 at /home/francesco/snap/flutter/common/flutter
• Framework revision 45508985b1 (10 hours ago), 2021-02-02 22:46:04 -0500
• Engine revision 2c144c3eeb
• Dart version 2.12.0 (build 2.12.0-282.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/francesco/Android/Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = /home/francesco/Android/Sdk
• Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /snap/bin/chromium
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Linux
• Chrome (web) • chrome • web-javascript • Chromium 88.0.4324.96 snap
! Doctor found issues in 1 category.