Package Details: flutter 1.17.5-1

Git Clone URL: (read-only, click to copy)
Package Base: flutter
Description: A new mobile app SDK to help developers and designers build modern mobile apps for iOS and Android.
Upstream URL:
Keywords: android fuchsia ios mobile sdk
Licenses: custom, BSD, CCPL
Submitter: flipflop97
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 52
Popularity: 1.86
First Submitted: 2017-06-05 21:03
Last Updated: 2020-07-06 19:02

Dependencies (14)

Required by (1)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

jhzn commented on 2020-07-07 21:44

If you're getting issues with installing dependencies like the following:

-> Could not find all required packages:
    lib32-libva (Wanted by: flutter -> lib32-libglvnd-git -> lib32-mesa-aco-git)
    lib32-libxext (Wanted by: flutter -> lib32-libglvnd-git)
    lib32-libxext (Wanted by: flutter -> lib32-libglvnd-git -> lib32-mesa-aco-git -> lib32-libdrm-git -> lib32-cairo-git)

I've made a PR to the maintainer with a fix here:

Kppqju77 commented on 2020-06-19 10:56

@btimofeev: flutter needs to be run as root, or you can use a hook like mine (flutter-group-pacman-hook) to declare a group having the permissions to use it (it defaults to fultterusers group as it is the example in the PKGBUILD)

btimofeev commented on 2020-06-16 14:05

flutter doctor ~/mkdir: cannot create directory '/opt/flutter/bin/cache': Permission denied

Kppqju77 commented on 2020-06-05 14:41

@hack.augusto my trick is flutter-group-pacman-hook package, but it will throw some warning when upgrading flutter. The package adds a pacman hook that will apply the "right" rights on /opt/flutter. You can define whatever group you want it applied to, but defaults to flutterusers.

cfujino commented on 2020-06-03 00:52

git and bash are required, and should be moved to regular dependencies (and unzip added). And I think dart should be removed altogether, as flutter vends its own (custom) version of the dart sdk.

frealgagu commented on 2020-05-24 19:12

@hack.augusto A package must not use local users in building, the app itself should use a local config for its usage, so it's not something that should be changed in the PKGBUILD. Other packages like npm, go or python are installed as root and to install specific adds, they need to be installed as root (or even be installed using other AUR package). Flutter is more recent that those other packages but I think that this is the way to install adds in the future.

hack.augusto commented on 2020-05-23 11:16

Thanks for the PKGBUILD!

I'm not found of the idea of running flutter as root, maybe the package could create the flutterusers group by default?

These are the lines I added to my local package:

chown -R :flutterusers "${pkgdir}/opt/${pkgname}"
chmod -R g+w  "${pkgdir}/opt/${pkgname}"

cfujino commented on 2020-05-22 22:45

Yes, we should add unzip as a dependency, it's listed as one of the system requirements

Kppqju77 commented on 2020-05-22 15:42

Looks like flutter is requiring unzip to download packages (It throwed me errors about this when automatically installing dart for example). I don't know if we should add it to the dependencies...

opt/flutter/bin/internal/ ligne 93: unzip : command not found

nasdack commented on 2020-05-18 02:32

@Ionaowna, did you install all four Android SDK packages?