mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
When creating a new project, the build fails with an error similar to: "versionCode not found. Define flutter.versionCode in the local.properties file." This puts developers in the untenable situation of having to edit a file with local paths, but being unable to check it in. This changes the templates to default to using versionCode 1 and version "1.0" if they are not defined in the local.properties file. Fixes #18983.
Flutter Tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools and execute:
../../bin/cache/dart-sdk/bin/pub run test -j1