-
Notifications
You must be signed in to change notification settings - Fork 222
Description
ThingsBoard Platform Version
4.2.1
Affected platforms
Both
ThingsBoard Platform Type
Self-hosted ThingsBoard
App Release Version
1.7
Steps to reproduce
I cloned the app from git URL on vs code, and it shows errors in most files.
I have flutter 3.38.4.
When I run flutter pub get, I get this error.
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_localizations from sdk depends on intl 0.20.2 and thingsboard_app depends on intl ^0.19.0, flutter_localizations from sdk is
forbidden.
So, because thingsboard_app depends on flutter_localizations from sdk, version solving failed.
You can try the following suggestion to make the pubspec resolve:
- Try an upgrade of your constraints: flutter pub upgrade --major-versions
Failed to update packages.
I need help with configuring and running app.
Actual results
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_localizations from sdk depends on intl 0.20.2 and thingsboard_app depends on intl ^0.19.0, flutter_localizations from sdk is
forbidden.
So, because thingsboard_app depends on flutter_localizations from sdk, version solving failed.
You can try the following suggestion to make the pubspec resolve:
- Try an upgrade of your constraints: flutter pub upgrade --major-versions
Failed to update packages.
Problematic Files (Optional)
No response
App Logs
App Logs
<!-- Paste your app logs here -->
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.38.4, on Microsoft Windows [Version 10.0.26200.7171], locale en-US)
[√] Windows Version (11 Pro 64-bit, 25H2, 2009)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
X Flutter requires Android SDK 36 and the Android BuildTools 28.0.3
To update the Android SDK visit https://flutter.dev/to/windows-android-setup for detailed instructions.
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/windows-android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[√] Connected device (4 available)
[√] Network resources
! Doctor found issues in 1 category.