-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In my Flutter project, I am using firebase_analytics: ^11.3.0
for tracking.
Now I want to add push notification and added cleverpush_flutter: ^1.23.32
to my pubspec.yaml
When I now try to build and run it on my Android Phone, I get the following compile error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processTwDevDebugResources'.
> In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.
1, 23.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: com.cleverpush:cleverpush:1.34.1 -> com.google.firebase:firebase-messaging@[10.2.1, 23.0.99], but fi
rebase-messaging version was 24.0.0.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends on project 'cleverpush_flutter' which depends onto com.cleverpush:cleverpush@1.34.1
-- Project 'app' depends onto com.cleverpush:cleverpush@[1.34.1]
-- Project 'app' depends onto com.google.firebase:firebase-messaging@[24.0.0]
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = true }" to your bu
ild.gradle file.
* 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
BUILD FAILED in 20s
Error: Gradle task assembleTwDevDebug failed with exit code 1
I tried downgrading firebase_analytics. The lowest which would compile was firebase_analytics: 10.0.1
which is 22 months old. But even then "firebase-messaging" was much newer compared to what "com.cleverpush:cleverpush:1.34.1" expected:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processTwDevDebugResources'.
> In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.
1, 23.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: com.cleverpush:cleverpush:1.34.1 -> com.google.firebase:firebase-messaging@[10.2.1, 23.0.99], but fi
rebase-messaging version was 23.2.1.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends on project 'cleverpush_flutter' which depends onto com.cleverpush:cleverpush@1.34.1
-- Project 'app' depends onto com.google.firebase:firebase-messaging@[23.2.1]
-- Project 'app' depends onto com.cleverpush:cleverpush@[1.34.1]
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = true }" to your bu
ild.gradle file.
* 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
BUILD FAILED in 8s
Error: Gradle task assembleTwDevDebug failed with exit code 1
Metadata
Metadata
Assignees
Labels
No labels