Jaden Lorenc
Jaden Lorenc

Reputation: 384

flutter don't use plugin versions that require android 31

I have an essential plugin that hasn't been updated in a year. I made the mistake of updating flutter, and now, when I try to build, it is telling me about a whole list of plugins that require android 31. Unfortunately, android 31 breaks the one plugin that I must use. Caret notation in the pubspec.yaml is funny because the documentation says it's supposed to choose a version of the package that works with the dependencies, but it's just not doing that.

Upvotes: 0

Views: 106

Answers (1)

belinda.g.freitas
belinda.g.freitas

Reputation: 1167

Run flutter downgrade in command line or reinstall your old version.

Upvotes: 1

Related Questions