Package Details: flutter-target-android 3.38.1-3

Git Clone URL: https://aur.archlinux.org/flutter.git (read-only, click to copy)
Package Base: flutter
Description: Flutter SDK component - android target files
Upstream URL: https://flutter.dev
Keywords: android fuchsia ios mobile sdk
Licenses: custom, BSD, CCPL
Groups: flutter
Submitter: flipflop97
Maintainer: WithTheBraid
Last Packager: WithTheBraid
Votes: 151
Popularity: 0.49
First Submitted: 2017-06-05 21:03 (UTC)
Last Updated: 2025-11-23 12:41 (UTC)

Dependencies (10)

Required by (1)

Sources (43)

Pinned Comments

WithTheBraid commented on 2025-11-11 10:15 (UTC)

This package is deprecated in favor of aur/flutter which now contains all required artifacts on its own. This PKGBUILD will be kept as is in order to ensure seamless builds of old Flutter version in future.

Latest Comments

« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 27 Next › Last »

Swivel commented on 2023-05-03 21:43 (UTC)

This package is not stable. Every time I attempt to update this package, it complains in the same way that it does for @xeruf.

What gives?

error: failed to commit transaction (conflicting files)
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.10-candidate.1 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.10-candidate.1 exists in filesystem
flutter: /opt/flutter/packages/flutter_tools/lib/src/migrations/cocoapods_script_symlink.dart exists in filesystem
Errors occurred, no packages were upgraded.

dangarbri commented on 2023-01-24 00:55 (UTC)

The sha256sum for flutter-3.3.10 is out of date.

The current sha256 for the flutter sdk is 4ab54d3f93ba6e0308b3176ab81843c9d3d44b126e27204aa96a339601d45aff

melonion commented on 2022-12-16 14:06 (UTC)

Yeah I can just blindly follow the advice, but can't this be avoided?

Also, upgrading fails due to the .git dir, does that really need to be copied into /opt at all?

error: failed to commit transaction (conflicting files)
flutter: /opt/flutter/.git/logs/refs/remotes/origin/115574-android-selection-haptics-feedback-should-respect
-android-settings exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/beta exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/dependabot/docker/dev/ci/docker_linux/ubuntu-6fec506 exi
sts in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/dependabot/github_actions/actions/checkout-3.2.0 exists 
in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/dependabot/github_actions/github/codeql-action-2.1.37 ex
ists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/fix-isCanvasKit-bool exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.2-candidate.5 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.10 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.11 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.12 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.13 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.7 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.8 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.6-candidate.9 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.0 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.1 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.2 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.3 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.4 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.5 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.6 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.7 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.8 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/flutter-3.7-candidate.9 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/fuchsia_r51 exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/revert-115009-fix_linux_remapped_capslock_throws exists 
in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/revert-116798-run_log_spew exists in filesystem
flutter: /opt/flutter/.git/logs/refs/remotes/origin/stable exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/115574-android-selection-haptics-feedback-should-respect-andr
oid-settings exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/beta exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/dependabot/docker/dev/ci/docker_linux/ubuntu-6fec506 exists i
n filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/dependabot/github_actions/actions/checkout-3.2.0 exists in fi
lesystem
flutter: /opt/flutter/.git/refs/remotes/origin/dependabot/github_actions/github/codeql-action-2.1.37 exists 
in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/fix-isCanvasKit-bool exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.2-candidate.5 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.10 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.11 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.12 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.13 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.7 exists in filesystem
flutter: /opt/flutter/.git/refs/remotes/origin/flutter-3.6-candidate.8 exists in filesystem
[...]
Errors occurred, no packages were upgraded.
removing untracked AUR files from cache...

ZorinArch commented on 2022-11-24 05:30 (UTC)

@xeruf execute git config --global --add safe.directory /opt/flutter

OR add this lines to .gitconfig file

[safe]
    directory = /opt/flutter

melonion commented on 2022-11-17 18:08 (UTC)

After adding my user to flutterusers, I still get this:

❯ flutter doctor
fatal: detected dubious ownership in repository at '/opt/flutter'
To add an exception for this directory, call:

    git config --global --add safe.directory /opt/flutter
Doctor summary (to see all details, run flutter doctor -v):
Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c
log.showSignature=false log HEAD -n 1 --pretty=format:%ad --date=iso
Standard out: 
Standard error: fatal: detected dubious ownership in repository at '/opt/flutter'
To add an exception for this directory, call:

    git config --global --add safe.directory /opt/flutter

Returning 1970-01-01 01:00:00.000 instead.
[!] Flutter (Channel unknown, 0.0.0-unknown, on Arch Linux 6.0.8-arch1-1, locale en_IE.UTF-8)
    ! Flutter version 0.0.0-unknown on channel unknown at /opt/flutter
    ! Upstream repository unknown

melonion commented on 2022-11-16 23:37 (UTC)

After installation I get this confusing error:

❯ flutter run .
fatal: detected dubious ownership in repository at '/opt/flutter'
To add an exception for this directory, call:

    git config --global --add safe.directory /opt/flutter
rm: cannot remove '/opt/flutter/version': Permission denied

eclairevoyant commented on 2022-11-11 01:45 (UTC) (edited on 2022-11-11 02:30 (UTC) by eclairevoyant)

This doesn't actually build anything. Either the name should be updated to -bin or this package should be corrected.

See this and this for compilation steps.

Also if you're going to the effort of messing with permissions, you might as well go all the way; for find "${pkgdir}/opt/${pkgname}" -type d -exec chmod a+rx {} + you can change a+rx to a+rx,g+w, since it will avoid noisy warnings during update of this package and will align with the whole purpose of creating the flutterusers group.

And as has been said before, when bumping pkgver then pkgrel should be reset to 1.

whoami commented on 2022-10-23 16:48 (UTC)

u should reset pkgrel to 1 if you update pkgver https://wiki.archlinux.org/title/PKGBUILD#pkgrel