Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android building generate error on gradle 8+ #130

Open
kilian-v opened this issue May 17, 2024 · 0 comments
Open

Android building generate error on gradle 8+ #130

kilian-v opened this issue May 17, 2024 · 0 comments

Comments

@kilian-v
Copy link

kilian-v commented May 17, 2024

same as #119

I've started to get this error when when using gradle 8+.

To reproduce the issue just create a basic flutter project, add rollbar_flutter 1.5.0 and change the distributionUrl on gradle-wrapper.properties to :

distributionUrl=https://services.gradle.org/distributions/gradle-8.3-all.zip
You will see this message when trying to run on Android.

1: Task failed with an exception.

-----------

* Where:

Build file '/Users/username/.pub-cache/hosted/pub.dev/rollbar_flutter-1.5.0/android/build.gradle' line: 107

* What went wrong:

A problem occurred evaluating project ':rollbar_flutter'.

> Could not find method enabled() for arguments [false] on Report xml of type > ### org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport.

* 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.

==============================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant