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.
Search Criteria
Package Details: flutter-gradle 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 - gradle wrapper |
| Upstream URL: | https://flutter.dev |
| Keywords: | android fuchsia ios mobile sdk |
| Licenses: | custom, BSD, CCPL |
| Groups: | flutter |
| Conflicts: | flutter-gradle |
| Provides: | flutter-gradle |
| Submitter: | flipflop97 |
| Maintainer: | WithTheBraid |
| Last Packager: | WithTheBraid |
| Votes: | 151 |
| Popularity: | 0.78 |
| First Submitted: | 2017-06-05 21:03 (UTC) |
| Last Updated: | 2025-10-28 13:25 (UTC) |
Dependencies (5)
- dart (fvm-flutter-proxyAUR, flutterupAUR, flutter-binAUR, flutter-dart-google-binAUR, flutter-artifacts-dart-google-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 (1)
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
WithTheBraid commented on 2025-11-11 10:15 (UTC)
mihalycsaba commented on 2025-10-18 23:56 (UTC)
this just messed up my existing setup... I don't understand, why does is it separated in so many packages, also it's outdated.
J4UNE commented on 2025-08-17 10:49 (UTC)
@J21 With FVM, you can quickly install multiple Flutter and Dart versions. You can set a project-specific version so that the correct version is used in that project directory. I use it this way and it works really cleanly. I’d recommend it to you as well.
J21 commented on 2025-08-17 09:08 (UTC)
@J4UNE 10x sounds great so i just take everything else from this except flutter itself?
J4UNE commented on 2025-08-17 08:45 (UTC)
Use FVM (Flutter Version Manager) instead.
J21 commented on 2025-08-17 07:45 (UTC) (edited on 2025-08-17 07:50 (UTC) by J21)
I keep getting
Execution failed for task ':gradle:compileKotlin'.
> java.nio.file.NoSuchFileException: /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin/sessions/kotlin-compiler-7863235143730812401.salive
The Kotlin session files in /usr/lib/flutter are corrupted but require root access to fix.
Fixed it using the comment below that said
Creating the folder /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin and chowning it to my user worked just fine.
i.e.
- Create the missing directory: sudo mkdir -p /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin
- Change ownership to your user: sudo chown -R $USER:$USER /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin
- Set proper permissions: chmod 755 /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin
carlosal1015 commented on 2025-07-07 04:15 (UTC)
I guess git is a missing makedependency.
Try `dart pub outdated` for more information.
Failed to find "git" in the search path.
An error was encountered when trying to run git.
Please ensure git is installed and available in your system's search path. See https://docs.flutter.dev/get-started/install for instructions on installing git for your platform.
==> ERROR: A failure occurred in build().
Aborting...
fabcc commented on 2025-05-23 20:48 (UTC)
Since the latest update, I'm unable to upgrade or install it, it always tries to install the official https://archlinux.org/packages/extra/x86_64/dart/ (3.7.0) but it needs a 3.8.0 dart sdk. Which dart package provider should I choose (I tried all of them with aur/yay)
HBBrennan commented on 2025-04-08 22:53 (UTC) (edited on 2025-04-08 22:53 (UTC) by HBBrennan)
@Maxr1998 Where do you set kotlin.project.persistent.dir? I don't see a change when I run flutter build apk after setting it in android/gradle.properties.
Maxr1998 commented on 2025-03-02 01:24 (UTC)
I'm pretty sure the issue with the /usr/lib/flutter/packages/flutter_tools/gradle/.kotlin folder is due to flutter upgrading the Kotlin Gradle plugin from 1.8 to Kotlin 2+ and a change introduced in Kotlin 2.0. To fix this issue, the kotlin.project.persistent.dir has to be set somewhere.
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.