Skip to content

Unable to build apk #79093

@Katekko

Description

@Katekko

I have an open project in my git that I upgrade the version to 2.0.3, now the project is unable to build an apk.
I don't know what to do, the error message is not clear to me...
The project works when you running, the error appear just when you try to build an APK
image
Error with verbose: https://pastebin.ubuntu.com/p/Y9Q9gmJ8qd/

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

How can you reproduce the error:

1- Clone my repo: https://github.com/Katekko/ekko_app
2- Copy and paste the config.example.dart and change the name to config.dart
3- Try to build an apk: flutter build apk --release

I really don't know what to do, please help me :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions