no cached version available for offline mode
<p>At office, I am behind a proxy. The internet access is restricted. </p>

<p>So I performed a gradle sync at home and copied the folder ".gradle" present at C:\Users\username.gradle from my home PC to the same location on my office PC.</p>

<p>Now on my office PC, I set gradle in Android Studio to "Work Offline" but still whenever I try to perform a gradle sync, I get an error stating</p>

<pre><code>Error: Could not download google-services.jar (com.google.gms:google-services:3.0.0): No cached version available for offline mode
</code></pre>

<p>However on digging through the ".gradle" folder I was able to locate the google-service.jar file at</p>

<pre><code>C:\Users\username\.gradle\caches\modules-2\files-2.1\com.google.gms\google-services\3.0.0\32b833222c886ecfb37d79b1a05ce1eddb702db1
</code></pre>

<p>I am not sure how to proceed. Please help.</p>