I am getting this error when syncing gradle. I am pretty new to gradle so can\'t figure out what is the problem exactly?
Error:No cached version of co
In newer versions of android studio offline mode toggle button can be found here.
You can even customize to a shortcut in keymap if necessary. Just search 'offline mode' in Settingings -> Keymap
You can toggle offline mode by opening the Gradle panel on your right, and click the following button :
If you have Android Studio 3.6(Stable). You can switch between cached version and online version of gradle.
Look at the right side of the Android studio, you will see gradle tab. Click on it.
If you cannot see gradle tab then
I'm using Android Studio 3.6.3
I did not find the offline work
option in Settings
Select Gradle in View > ToolWindows > Gradle
or search Gradle on CTRL + SHIFT + A
There you can find a Toggle Offline Mode
Button