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 not building on gradle 8+ #119

Closed
diegoalex opened this issue Dec 20, 2023 · 1 comment
Closed

Android not building on gradle 8+ #119

diegoalex opened this issue Dec 20, 2023 · 1 comment

Comments

@diegoalex
Copy link

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.
==============================================================================
@matux
Copy link
Collaborator

matux commented Jan 10, 2024

This should be fixed, now. If you still have problems, don't hesitate creating a new issue. Thank you!

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

2 participants