Skip to content

Starter page should probably mention the required structure. #13102

@kdart

Description

@kdart

Page URL

https://docs.flutter.dev/platform-integration/linux/building

Page source

https://github.com/flutter/website/blob/main/src/content/platform-integration/linux/building.md

Describe the problem

The instructions on the page tell us to run flutter build linux --release to test a build. But I get an error Target file "lib/main.dart" not found.. The page makes no mention of this file being required to actually succeed in the build. I just have the first example CLI app that has main function under bin, so that doesn't work.

Expected fix

Just add a paragraph describing the required source structure to get a basic successful build. Or tell us what create command is needed to be run first to verify that the setup works.

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from.page-issueReported in a reader-filed concern

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions