Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thank you, but after change the repositories I have the same error.
    – rlecheta
    Commented Apr 6, 2019 at 12:48
  • have you added inside both buildscript and allprojects.... also are you connected to internet when you sync files.
    – Ryosuke
    Commented Apr 6, 2019 at 13:37
  • Yes I added it to both buildscript and allprojects... of course I have internet I can install other dependencies without any problem, and as I said it is working on iOS. I've used firebase many times before, but I don't know what's the big deal with flutter. As you can see in the picture I attached to my post, after open the android folder with Android Studio it's possible to see some error about this dependency, but I dont know what can I do...
    – rlecheta
    Commented Apr 6, 2019 at 15:03
  • try changing classpath 'com.google.gms:google-services:3.2.1' to classpath 'com.google.gms:google-services:4.2.0'
    – Ryosuke
    Commented Apr 6, 2019 at 15:50
  • I solved the problem and posted the answer.. thank you for the help
    – rlecheta
    Commented Apr 6, 2019 at 23:51