Skip to content

Build error app-debug.apk does not exist for add2app under flutter stable channel #121256

@burnermanx

Description

@burnermanx

Steps to Reproduce

  1. Create an add-to-app project
  2. Try to run on Android Studio or execute flutter run

Expected results:
Project runs on emulator

Actual results:
Build error. Failed to install APK, because build/host/apk/app-debug.apk does not exist.

Flutter Doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.5-0.0.pre.1, on Ubuntu 22.04.2 LTS
    5.19.0-32-generic, locale pt_BR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (version 2022.1)
    ✗ Unable to find bundled Java version.
[✓] VS Code
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Cherry-picking 5dabe10 fixes this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions