ok, this hasn’t anything to do with my plugin. It’s to do with firebase_core.

In your project, go to the directory containing the file, gradlew.bat

Image for post
Image for post

Open a terminal or command window in that directory and run the command ‘’ as they had specified in the error message. But this time, direct the output to a text file, dependencies.txt.

Image for post
Image for post

They’re a little misleading. Don’t look for ‘play-services-measurement-sdk-api’ Look for ‘play-services-measurement-api’ (without the -sdk). You will find the following instances:

com.google.android.gms:play-services-measurement-api:16.4.0 (*)

com.google.android.gms:play-services-measurement-api:16.0.2 (*)

Again, this isn’t caused by my Dart package directly. It involves other libraries you are using for your project. Post questions about how to resolve such a problem on stackoverflow.com:

[site:stackoverflow.com “com.google.android.gms:play-services-measurement-sdk-api “]( https://www.google.com/search?ei=sQ7DXLrdN8KGsQWjioKICg&q=site%3Astackoverflow.com+%22com.google.android.gms%3Aplay-services-measurement-sdk-api+%22&oq=site%3Astackoverflow.com+%22com.google.android.gms%3Aplay-services-measurement-sdk-api+%22&gs_l=psy-ab.3...611343.619351..621172...0.0..0.197.2283.22j4......0....1j2..gws-wiz.......0i71j0i131j0j0i67j0i10i67.uWAYfu4ei5o)

Freelance Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store