Package Details: flutter 1.22.2-1

Git Clone URL: https://aur.archlinux.org/flutter.git (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: https://flutter.io
Keywords: android fuchsia ios mobile sdk
Licenses: custom, BSD, CCPL
Submitter: flipflop97
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 57
Popularity: 2.93
First Submitted: 2017-06-05 21:03
Last Updated: 2020-10-18 05:57

Dependencies (13)

Required by (2)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

midhun commented on 2020-10-16 07:32

I cannot get to update flutter. having conflict error. Is it because I did >flutter upgrade ?

error: failed to commit transaction (conflicting files) flutter: /opt/flutter/.github/ISSUE_TEMPLATE/1_activation.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/2_bug.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/3_feature_request.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/4_performance_others.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/5_performance_speed.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/6_infrastructure.md exists in filesystem flutter: /opt/flutter/.github/ISSUE_TEMPLATE/config.yml exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Flutter/Debug.xcconfig exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Flutter/Release.xcconfig exists in filesystem flutter: /opt/flutter/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings exists in filesystem ...

bkb commented on 2020-09-04 09:47

yay -S flutter-group-pacman-hook
chgrp -R flutterusers /opt/flutter
chmod g+w /opt/flutter
sudo usermod -a -G flutterusers $USER

Is not enough to execute flutter as non-root, someone getted it to work here?

flutter 
        create $PROJECT
        doctor

Failed to open or create the artifact cache lockfile: "FileSystemException: Cannot open file, path = '/opt/flutter/bin/cache/lockfile' (OS Error: Permission denied, errno = 13)"
Please ensure you have permissions to create or open /opt/flutter/bin/cache/lockfile
Failed to open or create the lockfile

FirstAirBender commented on 2020-08-06 18:38

@solstice, you can use this pacman hook to achieve the same thing:

https://aur.archlinux.org/packages/flutter-group-pacman-hook/

solstice commented on 2020-07-15 11:34

You forgot to add a post_upgrade() in .install:

chgrp -R flutterusers /opt/flutter
chmod g+w /opt/flutter

Otherwise, an upgrade will cause problem

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:

https://github.com/frealgagu/archlinux.flutter/pull/2

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.