Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error Could not resolve com.google.android.gms:play-services-location:[15.0.0, 16.0.0). #1186

Closed
wahyu-handayani opened this issue Dec 23, 2022 · 1 comment

Comments

@wahyu-handayani
Copy link

Yesterday I run my code and didn't get any error but just so sudden... (I didn't edit my code) I got an error log like this

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
   > Could not resolve com.google.android.gms:play-services-location:[15.0.0, 16.0.0).
     Required by:
         project :app
      > Skipped due to earlier error

* 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 1m 8s

I have tried by running it using another internet connection and still I get the same result. Is there a way to solve this (this error only happen when I run it using android and run so well in ios simulator)
I also open this question on https://stackoverflow.com/questions/74895832/how-to-solve-could-not-resolve-com-google-android-gmsplay-services-location15

@TimHoogstrate
Copy link
Contributor

Dear @wahyu-handayani,

In the thread you openend on stack overflow it seems that you found a solution. Therefore we'll close this issue. Feel free to reopen the issue if something new pops-up or if we could assist in this issue. Please add the output of 'flutter doctor -v' to the issue.

Kind regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants