1

I am doing an App in flutter, and i had the following issue

/Users/pedro/Desktop/Development/flutter/bin/flutter --no-color packages get Running "flutter packages get" in wemystic... The current Dart SDK version is 2.1.0-dev.0.0.flutter-be6309690f. Because flutter_cache_manager >=0.1.0-rc.1 depends on uuid >=0.0.7 <1.0.3 which requires SDK version <2.0.0, flutter_cache_manager >=0.1.0-rc.1 is forbidden. So, because wemystic depends on flutter_cache_manager 0.1.0-rc.1, version solving failed. pub get failed (1) Process finished with exit code 1

My dependencies in pubspec.yaml are:

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_auth: any
  google_sign_in: any
  flutter_html_view: any

Thanks

1
  • Update Flutter then try again Commented Aug 29, 2018 at 11:43

1 Answer 1

3

The flutter_cache_manager package is outdated and needs update

Adding this to pubspec.yaml should fix it as workaround until the package is updated

dependency_overrides:
  uuid: ^1.0.3
Sign up to request clarification or add additional context in comments.

2 Comments

Working now, but the images on html don't load
I don't know if that is supposed to work because the flutter_cache_manager seems a bit outdated or if your code is not correct. dependency_overrides` is always on your own risk.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.