canonical / flutter-snap

GNU General Public License v3.0
18 stars 8 forks source link

Build snapcraft app with confinement classic. #99

Open auguzsto opened 1 year ago

auguzsto commented 1 year ago

Problem

Try building the application with confinement in classic.

Logs.

Failed to load extension 'flutter-stable': this extension does not support 'classic' confinement. Either use a different extension, or use a confinement setting supported by this extension.

Flutter doctor.

[✓] Flutter (Channel stable, 3.7.5, on Debian GNU/Linux 11 (bullseye)
    5.10.0-21-amd64, locale pt_BR.UTF-8)
[✗] Android toolchain - develop for Android devices

    ✗ Unable to locate Android SDK.

      Install Android Studio from:

      https://developer.android.com/studio/index.html

      On first launch it will assist you in installing the Android SDK

      components.

      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup

      for detailed instructions).

      If the Android SDK has been installed to a custom location, please use

      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.75.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability