Skip to content

Multiple versions of the Android Gradle plugin #884

@DevSynthx

Description

@DevSynthx

What happened?

Since I upgraded my Android Gradle plugin (AGP) to 8.2.2. I get this error when building the app
Using multiple versions of the Android Gradle plugin in the same build is not allowed.

  • Project ~/.pub-cache/hosted/pub.dev/onesignal_flutter-5.1.6/android is using version 7.0.0

Steps to reproduce?

> Task :gradle:compileJava NO-SOURCE
> Task :gradle:compileGroovy UP-TO-DATE
> Task :gradle:pluginDescriptors UP-TO-DATE
> Task :gradle:processResources UP-TO-DATE
> Task :gradle:classes UP-TO-DATE
> Task :gradle:jar UP-TO-DATE

> Configure project :onesignal_flutter
Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.

What did you expect to happen?

I expect the app to run

OneSignal Flutter SDK version

onesignal_flutter 5.1.6

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions