No Cached Version Gradle Plugin Available for offline mode

Spider :

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?

ianhanniballake :

As per the Android Studio 3.6 release notes:

To enable or disable Gradle's offline mode, first select View > Tool Windows > Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=220096&siteId=1