1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Flutter: Gradle build failed to produce an .apk file. It's likely that this file was...

Discussão em 'Mobile' iniciado por Stack, Novembro 6, 2024 às 10:42.

  1. Stack

    Stack Membro Participativo

    I am trying to test drive an app. I keep getting a strange issue with this problem as app fail to debug/run. SDK version is 28 while the rest is below:

    Flutter 1.13.9-pre.79 • channel master • https://github.com/flutter/flutter.git
    Framework • revision 9eb9ea0ffa (6 hours ago) • 2020-01-13 21:30:42 -0800
    Engine • revision 0235a50843
    Tools • Dart 2.8.0 (build 2.8.0-dev.0.0 28c335d5a2)


    [​IMG]


    Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\Development\\build, but the tool couldn't find it.

    Is there a way to pass this issue or a configuration that can allow me to run by providing or giving the output path to Gradle? The .apk seems to generated as the error states.

    [​IMG]

    UPDATE:

    Android Studio -v 3.5.3
    Gradle -v 3.4.2
    Gradle Wrapper -v 5.1.1

    Continue reading...

Compartilhe esta Página