Appcenter: Building flutter project

Created on 25 Jun 2019  Â·  14Comments  Â·  Source: microsoft/appcenter

What App Center service does this affect?
iOS & Android build

Describe the bug
Console is just stuck at * Waiting for data from the build agent *

To Reproduce
Steps to reproduce the behavior:

  1. Trigger build

Expected behavior
Should output the build progress

Screenshots

Desktop (please complete the following information):

  • OS: MacOSX
  • Browser Chrome
  • Version [e.g. 22]

Additional context
I am using this script i my project https://github.com/microsoft/appcenter/blob/master/sample-build-scripts/flutter/ios-build/appcenter-post-clone.sh

bug build

Most helpful comment

quickfix is to comment out "flutter doctor" from appcenter-post-clone.sh file and it builds like a charm again.

All 14 comments

30 minutes later it fails with

Building flutter tool...
Downloading Material fonts...                                       0.3s
Downloading android-arm-profile/darwin-x64 tools...                 0.2s
Downloading android-arm-release/darwin-x64 tools...                 0.2s
Downloading android-arm64-profile/darwin-x64 tools...               0.2s
Downloading android-arm64-release/darwin-x64 tools...               0.2s
Downloading android-x86 tools...                                    1.0s
Downloading android-x64 tools...                                    0.9s
Downloading android-arm tools...                                    0.3s
Downloading android-arm-profile tools...                            0.2s
Downloading android-arm-release tools...                            0.2s
Downloading android-arm64 tools...                                  0.3s
Downloading android-arm64-profile tools...                          0.2s
Downloading android-arm64-release tools...                          0.2s
Downloading ios tools...                                            1.6s
Downloading ios-profile tools...                                    1.3s
Downloading ios-release tools...                                    1.1s
Downloading Gradle Wrapper...                                       0.0s
Downloading package sky_engine...                                   0.1s
Downloading common tools...                                         0.5s
Downloading common tools...                                         0.4s
Downloading darwin-x64 tools...                                     1.6s
Doctor summary (to see all details, run flutter doctor -v):
##[error]The operation was canceled.

I am running into the same issue today. The project works locally but every time build on AppCenter it stops processing at the same step as you show above.

@calvinmuller @solaamy Are you on free tier? Each build is limited to 30 minutes for free accounts.

This actually isn't related with Flutter. Flutter isn't officially supported, though there are workarounds. If you are interested in Flutter support, you can upvote #67 .

Closing this.

30 minutes to build a flutter app - it's clearly something wrong as apposed to "do i pay"

and btw yes I used that article to setup my project - so i'd either disable it or update it to maybe make it work ;)

Do you mind taking a look at the build log and see where the time are spent? If you download the logs, it should give you more details on each step and the timestamps.

Same problem here. How can I download the logs?

@williemaster If you view the build details, there should be a Download Logs button

my guess is that flutter doctor is waiting for some kind of human input on first run of flutter doctor, tried yes | flutter doctor but that also didn’t seem to work. unfortunate.

Is this kind of joke? Building flutter was working perfectly 2 days ago. Now it doesn't and it's for sure a flutter issue? :D well done ms, bravo!

I know right.

quickfix is to comment out "flutter doctor" from appcenter-post-clone.sh file and it builds like a charm again.

Mine then gets stuck at

Running "flutter pub get" in s...                                  19.4s
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building blah.blah.appid for device (ios-release)...

@PawelSkwaraEuvic @calvinmuller Sorry I didn’t realize you are reporting a Flutter build that was working before. In this case, could you reach out to support (via App Center portal) so that we can look into your app details? You may refer this Issue and have the support folks transfer this to me. Otherwise, this can get the same “not supported” answer. It is still true that we don’t have official support for Flutter. But I’d be interested in comparing the differences and understand what changed

Was this page helpful?
0 / 5 - 0 ratings