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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…