Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I haven't used Android Studio in a while, but decided to update everything and create a new project and I get the above error, if I go to Preferences -> Build, Execution, Deployment -> Gradle.

There's no option to 'Work Offline' as suggested here among other places No cached version of gradle available for offline mode

I've also used the 'Command Shift A' and searched for 'Offline' and I get nothing. Anyway to disable this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
616 views
Welcome To Ask or Share your Answers For Others

1 Answer

To Enable or Disable Gradle Offline Mode In Android Studio 3.6.1 please see in picture below : enter image description here

or 

Try View ?? Tool Windows ?? Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode

or 

If you want demo video so please have a look on : https://www.youtube.com/watch?v=50WxM7mu6pg


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...