-
Notifications
You must be signed in to change notification settings - Fork 228
Description
ThingsBoard Platform Version
.
Affected platforms
Android
ThingsBoard Platform Type
Self-hosted ThingsBoard
App Release Version
1.7.0
Steps to reproduce
flutter build apk --release -v
Actual results
[ +61 ms] executing: [C:\Users\yujie\Desktop\flutter_thingsboard_app-release-1.7.0/] D:\flutter_windows_3.29.0-stable\flutter\bin\cache\dart-sdk\bin\dart pub --suppress-analytics --color --directory .
get --example
Resolving dependencies...
The current Dart SDK version is 3.7.0.
Because flutter_lints 6.0.0 requires SDK version ^3.8.0 and no versions of flutter_lints match >6.0.0 <7.0.0, flutter_lints ^6.0.0 is forbidden.
So, because thingsboard_app depends on flutter_lints ^6.0.0, version solving failed.
[+41043 ms] pub get failed
command: "D:\flutter_windows_3.29.0-stable\flutter\bin\cache\dart-sdk\bin\dart pub --suppress-analytics --color --directory . get --example"
pub env: {
"FLUTTER_ROOT": "D:\flutter_windows_3.29.0-stable\flutter",
"PUB_ENVIRONMENT": "flutter_cli:verify:apk",
}
exit code: 1
Problematic Files (Optional)
No response
App Logs
App Logs
<!-- Paste your app logs here -->
Flutter Doctor output
flutter doctor -v
Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
[√] Flutter (Channel stable, 3.29.0, on Microsoft Windows [版本 10.0.26100.6584], locale zh-CN) [269ms]
• Flutter version 3.29.0 on channel stable at D:\flutter_windows_3.29.0-stable\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 35c388afb5 (8 months ago), 2025-02-10 12:48:41 -0800
• Engine revision f73bfc4522
• Dart version 3.7.0
• DevTools version 2.42.2
• Pub download mirror https://mirrors.tuna.tsinghua.edu.cn/dart-pub/
• Flutter download mirror https://mirrors.tuna.tsinghua.edu.cn/flutter
[√] Windows Version (Windows 11 or higher, 24H2, 2009) [766ms]
[√] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [1,380ms]
• Android SDK at C:\Users\yujie\AppData\Local\Android\sdk
• Platform android-36, build-tools 36.1.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.8+-14018985-b1038.68)
• All Android licenses accepted.
[√] Chrome - develop for the web [20ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps [19ms]
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2025.1.4) [18ms]
• Android Studio at C:\Program Files\Android\Android Studio
• 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 21.0.8+-14018985-b1038.68)
[√] VS Code (version 1.105.1) [16ms]
• VS Code at C:\Users\yujie\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.120.0
[√] Connected device (3 available) [199ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.26100.6584]
• Chrome (web) • chrome • web-javascript • Google Chrome 140.0.7339.80
• Edge (web) • edge • web-javascript • Microsoft Edge 141.0.3537.85
[√] Network resources [656ms]
• All expected network resources are available.
! Doctor found issues in 1 category.