question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add build-number and build-name for flutter in launch.json

See original GitHub issue

This 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:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Noyalcommented, Feb 27, 2019

It is throwing error when using flutter run. I have to take it up in Flutter repo. Thanks for your help

0reactions
DanTupcommented, Feb 27, 2019

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found