OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
606 stars 204 forks source link

Multiple versions of the Android Gradle plugin #884

Open DavidEtoedia opened 1 month ago

DavidEtoedia commented 1 month ago

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.

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?

Relevant log output

No response

Code of Conduct