vsts-flutter-tasks icon indicating copy to clipboard operation
vsts-flutter-tasks copied to clipboard

Http 404 Error while running Flutter Install

Open OMO-NOSA opened this issue 4 years ago • 3 comments

Hello @aloisdeniel

I currently have a self-hosted agent running on azure devops, but i get the below error when the flutter install tasks runs:

Downloading: https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_1.22.6-stable.zip ##[error]Error: Unexpected HTTP response: 404 Screenshot 2021-02-24 at 12 55 26

OMO-NOSA avatar Feb 24 '21 11:02 OMO-NOSA

This happens because the linux builds of flutter are distributed in tar.gz files, not zip files. There is a pending PR #57 fixing this issue but we need to get it reviewed and merged by the project maintainer.

In the meantime you can run your tasks on mac hosts.

Max-Might avatar Feb 24 '21 16:02 Max-Might

You could use my maintained fork of this, here if you don't want to change to mac host.

hey24sheep avatar Feb 24 '21 21:02 hey24sheep

You could use my maintained fork of this, here if you don't want to change to mac host.

Thanks. This solved my issue.

OMO-NOSA avatar Feb 25 '21 10:02 OMO-NOSA