0

I got following error when I run my Flutter project in Android Studio Arctic Fox

Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.google.android.gms:play-services-gass:[18.0.0].
     Required by:

         project :app > com.google.android.gms:play-services-ads:18.0.0

      > Failed to list versions for com.google.android.gms:play-services-gass.

         > Unable to load Maven meta-data from https://jcenter.bintray.com/com/google/android/gms/play-services-gass/maven-metadata.xml.

            > Could not get resource 'https://jcenter.bintray.com/com/google/android/gms/play-services-gass/maven-metadata.xml'.

               > Could not GET 'https://jcenter.bintray.com/com/google/android/gms/play-services-gass/maven-metadata.xml'. Received status code 502 from server: Bad Gateway



* 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.

I got this error suddenly, I didn't change anything so I don't know where is this error come from. Yesterday I still can run my app without any problem and today when I run my app I got this problem out of nowhere. I have already run flutter clean, and invalidate cache & restart my android studio and the problem is still there. Does anyone know how to fix this problem?

  • [Resolved here](https://stackoverflow.com/questions/70729765/flutter-execution-failed-for-task-appprocessdebugresources-could-not-resolv/70730904#comment125041056_70730904). Follow the link and switch to mavenCenteral. – Varun Kumar Jan 16 '22 at 15:29

0 Answers0