thingsboard / flutter_thingsboard_pe_app

ThingsBoard PE Mobile Application
https://thingsboard.io/products/mobile-pe/
BSD 3-Clause "New" or "Revised" License
87 stars 69 forks source link

Flutter ThingsBoard PE Mobile Application: dependency problem #85

Closed gcorthey closed 4 months ago

gcorthey commented 5 months ago

I cannot run the Flutter ThingsBoard Mobile Application PE, I get the following error.

Could you help me?

$ flutter run
Resolving dependencies... 
Note: intl is pinned to version 0.19.0 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.19.0 and thingsboard_app depends on intl ^0.18.0, flutter_localizations from sdk is forbidden.
So, because thingsboard_app depends on flutter_localizations from sdk, version solving failed.
ybeshkarov commented 5 months ago

Hello @gcorthey.

Please try Flutter 3.16.8

Flutter 3.16.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 67457e669f (3 months ago) • 2024-01-16 16:22:29 -0800
Engine • revision 6e2ea58a5c
Tools • Dart 3.2.5 • DevTools 2.28.5

By the way, you may want to use FVM https://fvm.app.