-
Notifications
You must be signed in to change notification settings - Fork 108
Gradle cannot do "exec" #647
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
I'm not an android expert. Neither gradle expert. Neither a Java expert. But this seems like a bug. The project works flawlessly, builds for Linux. But when I do flutter build apk I get this:
* Where:
Script '/home/admin/.pub-cache/hosted/pub.dev/rinf-8.7.2/cargokit/gradle/plugin.gradle' line: 60
* What went wrong:
Execution failed for task ':rinf:cargokitCargoBuildHubRelease'.
> Could not find method exec() for arguments [CargoKitBuildTask$_build_closure1@25ba10b4] on project ':rinf' of type org.gradle.api.Project.
To Reproduce
Steps to reproduce the behavior:
- Type
flutter build apk - See error
Expected Behavior
A clean, normal build of an apk file.
Additional Context
rustc 1.89.0 (29483883e 2025-08-04)Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel , 3.32.8, on Arch Linux 6.16.10-arch1-1, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2025.1.4)
[✓] Connected device (1 available)
[✓] Network resources
! Doctor found issues in 1 category.Dart SDK version: 3.8.1 (stable) (Wed May 28 00:47:25 2025 -0700) on "linux_x64"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working