OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

Multiple versions of the Android Gradle plugin

Open DevSynthx opened this issue 1 year ago • 1 comments
trafficstars

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
  • [X] Android

Relevant log output

No response

Code of Conduct

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

DevSynthx avatar May 06 '24 10:05 DevSynthx