Steps to Reproduce
- Create an add-to-app project
- 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.