Is it possible to set a long version number more for an flutter app? Note that may app is already launched in google play.
I want a version number be like this 3.0.25.1
in Google play ( .1 in the end).
The problem in Android studion -> pubspec.yaml when I set 3.0.25.1+133
I got the following error
Error on line 14, column 10 of pubspec.yaml: Invalid version number: Could not parse "3.0.25.1+133".
╷
14 │ version: 3.0.25.1+133
│ ^^^^^^^^^^^^
╵
pub get failed
command: "C:FlutterSDKflutterbincachedart-sdkbindart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "C:FlutterSDKflutter",
"PUB_ENVIRONMENT": "flutter_cli:get",
"PUB_CACHE": "C:UsersmypcAppDataLocalPubCache",
}
exit code: 65
2
Answers
It mean
Yes, it is possible.
Step 1: Select Project and open in any IDE
Step 2: Select this open on right side after select you will see whole files in your project.
Step 3: Open App Level build.gradle file.
Step 4:- Search versionCode or versionName in this file you will [![enter image description here][1]][1]find in defaultConfig map.
Step 5:- Add your version code and version name. keep in mind version code is build number. so in your case your versionName "3.0.25.1" .
.