Package Details: flutter 1.22.5-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: 60
Popularity: 1.93
First Submitted: 2017-06-05 21:03
Last Updated: 2020-12-24 21:07

Dependencies (13)

Required by (2)

Sources (3)

Pinned Comments

frealgagu commented on 2020-12-05 22:36

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.flutter/releases/

Latest Comments

1 2 3 4 5 6 Next › Last »

JuniorJPDJ commented on 2021-01-14 01:29

flutter-dev is now orphaned, didn't you think about taking it?

hossamdash commented on 2021-01-12 11:50

so i have installed this package but was facing two issues: Although i had the dart package installed on my system -which this package depends on-, both installing this package for the first time and each flutter doctor -v command results in the redownload of the dark-sdk which is inside /opt/flutter/bin/cache disregarding both the existing dark-sdk in the cache and the standalone dart package installed on my system. to solve this i did two things, i uninstalled the standalone dart sdk and then added a line to the build files of this package right after the chmod -R g+w /opt/flutter line. this line is chmod g+s /opt/flutter makes any files created within the /opt/flutter path inherit the group flutterusers which stops flutter doctor from redownloading the dart-sdk.

francescortiz commented on 2020-12-31 10:06

I think that flutter is designed to be self-upgraded. Hence in the end I decided to clone flutter repo instead of using AUR.

midhun commented on 2020-12-31 03:22

Getting failed to commit transaction error.

Using the --overwrite /opt/flutter/packages/flutter_tools/.packages option solves the issue, but the question is, is it fine to overwrite?

bkb commented on 2020-12-30 13:31

same

resolved with


$ mv /opt/flutter/packages/flutter_tools/.packages /opt/flutter/packages/flutter_tools/.packages.old

But I experience a LOT of

warning: directory permissions differ on $
filesystem: 775  package: 755

I experienced basic packages missing on my projects (incorrect URI), idk if it's related but I was able to correct that with flutter pub/packages get and a lot of restart/reloads

francescortiz commented on 2020-12-27 22:54

I get the followeing:

error: failed to commit transaction (conflicting files) flutter: /opt/flutter/packages/flutter_tools/.packages exists in filesystem Errors occurred, no packages were upgraded.

frealgagu commented on 2020-12-05 22:36

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.flutter/releases/

midhun commented on 2020-10-16 07:32

(solved) 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 ...

EDIT: OK just delete the directory and a clean install solves the issue.

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/