No cached version of com.google.gms:google-services:1.x.x available for offline mode

Rahul Sonone picture Rahul Sonone · Jun 10, 2016 · Viewed 33.7k times · Source

Error:No cached version of com.google.gms:google-services:1.4.0-beta3 available for offline mode. Disable Gradle 'offline mode' and sync project

I am facing this issue because I am working in offline mode in android studio. Can some body please tell me where is this cached file stored in my windows and from where I'll get this file so that I can separately download it and paste/keep it, and build my android project.

Answer

Moussa Lhoussaine picture Moussa Lhoussaine · Jun 26, 2016

you can also do this:

Go to `File -> Other Settings -> Default Settings`

And open the

Build,Execution,Deployment

Then open the

Build Tools -> Gradle

Then uncheck Offline work on the right.

Click the OK button.

Then Rebuild the Project.