Add build-number and build-name for flutter in launch.json
See original GitHub issueThis is current launch.json,
"version": "0.2.0",
"configurations": [
{
"name": "Flutter",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": [
"--flavor",
"development"
]
}
]
How can I setup build-number and build-name for Flutter.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
[web] Add --build-name and --build-number flags to flutter ...
json file that gets created with 'flutter build web' seems to be the intended way to get versioning information in the flutter web...
Read more >How to set build and version number of Flutter app
Setting the version and build number. You can update both the version name and the version code number in the same place in...
Read more >Build and release an Android app - Flutter documentation
Build and release an Android app. Contents. Adding a launcher icon; Enabling Material Components; Signing the app. Create an upload keystore; Reference the ......
Read more >Automatic build versioning - Codemagic Docs
How to set a new build number to push to app stores. ... In Flutter builds, the value for build name, {major}.{minor}.
Read more >Launch Configuration - Dart Code - Dart & Flutter support for ...
You can open your launch configuration file by clicking on the Debug side bar and then either the cog icon at the top,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is throwing error when using flutter run. I have to take it up in Flutter repo. Thanks for your help
@Noyal I’m not sure I’m a very good person to advise on this. If the issue is reproducible by using
flutter run
outside of VS Code, then it would be best raise at flutter/flutter or asking the the Gitter room/StackOverflow.If running outside of VS Code does not reproduce the same issue, and it only occurs within VS Code, then I’m happy to try and track down why. Just let me know exactly what you did and what happened both in the terminal, and when running from VS Code.
Thanks!