[GH-ISSUE #221] Building flutter application inside container #160

Closed
opened 2026-03-01 15:41:02 +03:00 by kerem · 2 comments
Owner

Originally created by @alessss on GitHub (Dec 27, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/221

I'm trying to build android app with flutter inside https://github.com/budtmo/docker-android container.

I install flutter inside the container (flutter doctor says everything is ok), clone latest version of my code.

When I run

flutter build apk --debug

I get

Resolving dependencies... 4.2s

FAILURE: Build failed with an exception.

  • What went wrong:
    Transformation hasn't been executed yet

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 2.9s
Gradle task assembleDebug failed with exit code 1

What's wrong? Looks like the container is intended for building android apps?

Originally created by @alessss on GitHub (Dec 27, 2019). Original GitHub issue: https://github.com/budtmo/docker-android/issues/221 I'm trying to build android app with flutter inside https://github.com/budtmo/docker-android container. I install flutter inside the container (flutter doctor says everything is ok), clone latest version of my code. When I run > flutter build apk --debug I get > Resolving dependencies... 4.2s > > FAILURE: Build failed with an exception. > > * What went wrong: > Transformation hasn't been executed yet > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. > > * Get more help at https://help.gradle.org > > BUILD FAILED in 2s > Running Gradle task 'assembleDebug'... > Running Gradle task 'assembleDebug'... Done 2.9s > Gradle task assembleDebug failed with exit code 1 What's wrong? Looks like the container is intended for building android apps?
kerem 2026-03-01 15:41:02 +03:00
Author
Owner

@budtmo commented on GitHub (Jan 7, 2020):

Hi @alessss ,

probably you miss other dependency(ies) that is(are) needed to build your application. Feel free to open the PR to add that dependency(ies) inside the Docker container.

<!-- gh-comment-id:571506206 --> @budtmo commented on GitHub (Jan 7, 2020): Hi @alessss , probably you miss other dependency(ies) that is(are) needed to build your application. Feel free to open the PR to add that dependency(ies) inside the Docker container.
Author
Owner

@alessss commented on GitHub (Jan 8, 2020):

Usind javiersantos/android-ci:28.0.3 to build application fixed the issue. Thanks.

<!-- gh-comment-id:571944001 --> @alessss commented on GitHub (Jan 8, 2020): Usind javiersantos/android-ci:28.0.3 to build application fixed the issue. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-android#160
No description provided.