@Kppqju77 Creating the folder /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin and chowning it to my user worked just fine.
Search Criteria
Package Details: flutter-artifacts-dart-google-bin 3.35.7-3
Package Actions
| Git Clone URL: | https://aur.archlinux.org/flutter.git (read-only, click to copy) |
|---|---|
| Package Base: | flutter |
| Description: | Flutter SDK component - Dart SDK |
| Upstream URL: | https://flutter.dev |
| Keywords: | android fuchsia ios mobile sdk |
| Licenses: | custom, BSD, CCPL |
| Groups: | flutter |
| Conflicts: | dart |
| Provides: | dart |
| Submitter: | flipflop97 |
| Maintainer: | WithTheBraid |
| Last Packager: | WithTheBraid |
| Votes: | 151 |
| Popularity: | 0.69 |
| First Submitted: | 2017-06-05 21:03 (UTC) |
| Last Updated: | 2025-10-28 13:25 (UTC) |
Dependencies (6)
- glibc (glibc-gitAUR, glibc-eacAUR)
- dart (fvm-flutter-proxyAUR, flutterupAUR, flutter-dart-google-binAUR, flutter-artifacts-dart-google-binAUR, flutter-binAUR, dart-sdk-devAUR) (make)
- gradle (make)
- jq (jq-gitAUR, jq-staticAUR, jaq-binAUR, jaq-gitAUR) (make)
- tar (tar-gitAUR, uutils-tar-gitAUR) (make)
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR) (make)
Required by (12)
- aid-git (requires dart) (make)
- cloudflare-warp-panel (requires dart) (make)
- dart-sass-embedded (requires dart) (make)
- dartbuster (requires dart) (make)
- flutter (requires dart) (make)
- flutter-artifacts-dart-google-bin (requires dart) (make)
- flutter-artifacts-engine-android-google-bin (requires dart) (make)
- flutter-artifacts-engine-common-google-bin (requires dart)
- flutter-artifacts-engine-common-google-bin (requires dart) (make)
- flutter-artifacts-engine-linux-google-bin (requires dart) (make)
- flutter-artifacts-engine-web-google-bin (requires dart) (make)
- flutter-artifacts-gradle-google-bin (requires dart) (make)
Sources (43)
- android-arm-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm-profile-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm-profile-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm-release-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm-release-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm64-profile-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm64-profile-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm64-release-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-arm64-release-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x64-profile-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x64-profile-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x64-release-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x64-release-linux-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- android-x86-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- dart-sdk-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- dart-sdk-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- doctor.patch
- engine-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- engine-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- flutter-3.35.7.tar.xz
- flutter.sh
- flutter_patched_sdk-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- flutter_patched_sdk_product-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- flutter_web_sdk-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- font-subset-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- font-subset-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gradle-user-home.patch
- gradle_wrapper-fd5c1f2c013565a3bea56ada6df9d2b8e96d56aa.tar.gz
- gtk-debug-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gtk-debug-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gtk-profile-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gtk-profile-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gtk-release-arm64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- gtk-release-x64-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- material_fonts-3012db47f3130e62f7cc0beabff968a33cbec8d8.zip
- no-lock.patch
- no-runtime-download.patch
- opt-in-analytics.patch
- sky_engine-035316565ad77281a75305515e4682e6c4c6f7ca.zip
- system-dart.patch
- version.patch
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 27 Next › Last »
ian-melo commented on 2025-02-28 03:10 (UTC)
ian-melo commented on 2025-02-26 20:10 (UTC) (edited on 2025-02-27 18:15 (UTC) by ian-melo)
I failed to install aur/flutter-devel using aur/yay because there are conflicting install files with aur/flutter-tool package, mostly under /usr/lib/flutter/packages/flutter_tools/templates dir:
flutter-devel: /usr/lib/flutter/packages/flutter_tools/templates/xcode/ios/custom_application_bundle/Runner.xcworkspace.tmpl/xcshareddata/WorkspaceSettings.xcsettings already exists in filesystem
EDIT: not sure if exactly came from that package, so I deleted /usr/lib/flutter/packages/flutter_tools/templates and could proceed with the installation without issues.
WithTheBraid commented on 2025-02-21 08:29 (UTC)
@Kppqju77 I agree. So far, I already have the gradle-user-home.patch present. In past Flutter releases, setting
project.buildDir = file(project.gradle.gradleUserHomeDir.path + "/flutter/build")
as in the patch was sufficient. Sadly this no longer works with Flutter 3.29.0. I'm sadly a bit clueless. I'm open for patches and suggestions.
You can either submit patches here as diff or visually via https://gitlab.com/flutter-archlinux/tool .
Kppqju77 commented on 2025-02-20 21:25 (UTC)
@logion this is a problem with gradle configuration (you shoud have an error report in android/build/reports/problems saying that /usr/lib/flutter/packages/flutter_tools/gradle is not writable, after chowning this repository to you user when you run flutter you should be able to go further than this error. IMO we need to define a writable "projectDirectory" inside the gradle config instead of fiddling with /usr/lib rights. I will test some more later.
logion commented on 2025-02-19 13:12 (UTC)
After upgrading from flutter 3.27.3 to 3.29.0-3, I can't build the default app that's created via flutter create for Android anymore (nor my own app). Any ideas? Abbreviated error is below, full output is here: Full error here: https://gist.github.com/fvdnabee/d6414d52ea867d20b58762b68a5b0918
❯ flutter create -t app app
❯ cd app
❯ flutter run
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gradle:compileKotlin'.
> java.nio.file.NoSuchFileException: /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin/sessions/kotlin-compiler-1507545787284407277.salive
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 577ms
Running Gradle task 'assembleDebug'... 686ms
Error: Gradle task assembleDebug failed with exit code 1
WithTheBraid commented on 2025-02-15 11:00 (UTC)
@orzogc Please build 3.29.0-2 - I admit, 3.29.0-1 had this issue.
orzogc commented on 2025-02-15 07:43 (UTC) (edited on 2025-02-15 07:45 (UTC) by orzogc)
When building flutter 3.29.0-1, I encountered these errors:
packages/flutter_tools/lib/src/artifacts.dart:1468:52: Error: Expected ';' after this.
return io.Platform.environment['DART_ROOT'] ?? '/opt/dart-sdk'
^^^^^^^^^^^^^^^
packages/flutter_tools/lib/src/android/gradle.dart:468:5: Error: The getter 'command' isn't defined for the class 'AndroidGradleBuilder'.
- 'AndroidGradleBuilder' is from 'package:flutter_tools/src/android/gradle.dart' ('packages/flutter_tools/lib/src/android/gradle.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'command'.
command.add('--project-cache-dir=$gradleUserHome/flutter/.gradle');
^^^^^^^
==> ERROR: A failure occurred in build().
Aborting...
andradei commented on 2024-10-17 03:14 (UTC)
This package is the one the craziest things from the AUR I tried to install. From the pinned comments, this is because of how flutter is required to be installed and how the AUR helpers work, etc.
I'm going to try manual installation instead of this.
nicolarevelant commented on 2024-09-30 20:37 (UTC) (edited on 2024-09-30 20:40 (UTC) by nicolarevelant)
Why do the following packages conflicts with themself:
- flutter
- flutter-gradle
HBBrennan commented on 2024-09-20 03:31 (UTC)
If anyone sees the error,
Unhandled exception:
PathNotFoundException: Cannot open file, path = '/usr/lib/flutter/version' (OS Error: No such file or directory, errno = 2)
I was able to fix this with unset FLUTTER_ROOT. I previously set it to work with some other tools. Hope this helps someone.
Pinned Comments
WithTheBraid commented on 2025-11-11 10:15 (UTC)
This package is deprecated in favor of
aur/flutterwhich 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.