I'm having problem with Gradle build since 2 days when I am build Gradle.
Error:
Could not HEAD 'https://jitpack.io/com/crashlytics/sdk/android/crashlytics/2.9.7/crashlytics-2.9.7.pom'. Received status code 522 from server: Origin Connection Time-out Enable Gradle 'offline mode' and sync project
Can anyone have any solution for this?
I have tried below commands/steps for the resolved issue:
- Invalidate catches/Restarts
- delete .gradle file and try again
- delete .gradle and .android file from root and try again
- try with offline sync
But Still not working.
Thanks in advance