StasDoskalenko / react-native-google-fit

A React Native bridge module for interacting with Google Fit
MIT License
333 stars 209 forks source link

Could not get resource when trying to run #247

Closed Nesh108 closed 10 months ago

Nesh108 commented 3 years ago

I have tried following the installation guide but I get the following error:

> Task :app:preDebugBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.google.android.gms:play-services-fitness:+.
  Required by:
      project :app > project :react-native-google-fit
   > Failed to list versions for com.google.android.gms:play-services-fitness.
      > Unable to load Maven meta-data from https://jitpack.io/com/google/android/gms/play-services-fitness/maven-metadata.xml.
         > Could not get resource 'https://jitpack.io/com/google/android/gms/play-services-fitness/maven-metadata.xml'.
            > Could not GET 'https://jitpack.io/com/google/android/gms/play-services-fitness/maven-metadata.xml'. Received status code 521 from server: Origin Down

The resource seems down. Is it a temporary issue or does something need to be updated?