openimsdk / open-im-flutter-demo

Demo developed based on flutter open IM SDK.
https://openim.io
Apache License 2.0
310 stars 208 forks source link

the qr_flutter^4.1.0 version error and SDK version >=2.19.4 <4.0.0 #87

Closed labike closed 1 year ago

labike commented 1 year ago

What would you like to share?

Because openim_common depends on qr_flutter >=4.1.0 which requires SDK version >=2.19.4 <4.0.0, version solving failed. pub get failed command: "G:\flutter3.7\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example" pub env: { "FLUTTER_ROOT": "G:\flutter3.7", "PUB_ENVIRONMENT": "vscode.dart-code:flutter_cli:get", "PUB_CACHE": "C:\Users\Administrator\AppData\Local\Pub\Cache", } exit code: 1

[✓] Flutter (Channel stable, 3.7.7, on Microsoft Windows) • Flutter version 3.7.7 on channel stable at G:\flutter3.7 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2ad6cd72c0 (5 months ago), 2023-03-08 09:41:59 -0800 • Engine revision 1837b5be5f • Dart version 2.19.4 • DevTools version 2.20.1

[✗] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at G:\Android\Sdk ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.6.1) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.6.33717.318 • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2022.2) • Android Studio at G:\androidstudio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1) • IntelliJ at G:\idea\IntelliJ IDEA 2023.1.2 • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows • Chrome (web) • chrome • web-javascript • Google Chrome 115.0.5790.111 • Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.67 (unsupported)

[✓] HTTP Host Availability • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Additional information

No response