Skip to content

Azure Dev Ops build error #128

@LiTe1991

Description

@LiTe1991

Hi,

We are using your task in our build on an Azure DevOps server.
Often, we get the error:
Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.

I have rechecked it often, and we are in the right folder where I can find a pubspec.yaml. Our current fix is to delete the Flutter folder under the tools directory per agent. After that, the task downloads a fresh version, and with this one, we are able to execute build 2-3 times before needing to repeat the process.

Additionally, we sometimes need to clear the Gradle cache or pub cache before the build works again with the process from above.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions