leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
834 stars 116 forks source link

Please upgrade uuid to v4 #178

Closed kjxbyz closed 5 months ago

kjxbyz commented 5 months ago
Because flutter_distributor >=0.4.0 depends on flutter_app_publisher ^0.4.0 which depends on qiniu_sdk_base ^0.5.0, flutter_distributor >=0.4.0 requires qiniu_sdk_base ^0.5.0.
And because qiniu_sdk_base >=0.4.0 depends on uuid ^3.0.5, flutter_distributor >=0.4.0 requires uuid ^3.0.5.
So, because picguard depends on both uuid ^4.4.0 and flutter_distributor ^0.4.0, version solving failed.
maxfornacon commented 5 months ago

Did you add flutter_distributor to your pubspec.yaml?

Try removing it and use dart pub global activate flutter_distributor.

I use uuid ^4.4.0 in my project and it works totally fine.

kjxbyz commented 5 months ago
# pubspec.yaml
dependency_overrides:
  uuid: ^4.4.0
lijy91 commented 5 months ago

Did you add flutter_distributor to your pubspec.yaml?

Try removing it and use dart pub global activate flutter_distributor.

I use uuid ^4.4.0 in my project and it works totally fine.

That's right, don't add it to your project dependencies

kjxbyz commented 5 months ago

The key to the problem is not whether it is a global installation, but a version conflict. Global installation also has problems.