no cached version available for offline mode

后端 未结 9 1668
死守一世寂寞
死守一世寂寞 2020-11-30 07:38

At office, I am behind a proxy. The internet access is restricted.

So I performed a gradle sync at home and copied the folder \".gradle\" present at C:\\Users\\user

9条回答
  •  迷失自我
    2020-11-30 08:04


    > Update: I heard Google Listened to the suggestion! and now in new android studio versions, when you start a new project, a popup will come with option to either build with gradle online or offline.. Great for you all..


    You need to re-enable your gradle online mode

    Google changed the location of doing this... After the latest version as at this time i am typing this answer, which is version below Android Studio 3.6.1 built on February 27, 2020

    I have sent a message to the them so Google changes this in next update..Cos the new location confuses the Software engineers who are used to the old way of doing it... But for now follow these clear 2 steps to find it and toggle it Online or Offline easily..

    1. Just Go to the top-right hand corner of your SDK and click the vertical Gradle tab as circled in red in the my picture below...

    2. Then you Click this icon (which looks like a symbol in an electrical schematic circuit) on the gradle table that comes out.. As Circled in Red in my picture below..

提交回复
热议问题