pub build fails due to urlencoded version numbers


Pub build throws the following error

Resolving dependencies...
Error on line 1, column 1 of
Invalid version constraint: Could not parse version

It seems pub tries to update version to 0.10.0+2. The url contains version number and its encoded from + sign to %2B.

pub version 1.6.0,
OS Fedora 19, Any ways to overcome this?


Pub version 1.6.0 didn’t yet support the + in version constraints.
You need to update to a newer version.

Answered By – Günter Zöchbauer

Answer Checked By – Mary Flores (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.