I have some problems while running flutter in android studio
This is my error Launching lib\\main.dart on Moto C Plus in debug mode... I
There were lots of similar issues raised the past days, that could be solved by adding the google() repository in first position in the repositories block of the build scripts.
See detailed explanation in the following answers:
The root cause , related to missing libraries in Jcenter, is explained in detail here : https://stackoverflow.com/a/50885939/6899896