No cached version of gradle

后端 未结 16 2447
悲&欢浪女
悲&欢浪女 2020-11-28 15:21

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

相关标签:
16条回答
  • 2020-11-28 15:50

    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

    0 讨论(0)
  • 2020-11-28 15:52

    You can toggle offline mode by opening the Gradle panel on your right, and click the following button :

    0 讨论(0)
  • 2020-11-28 15:54

    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

    0 讨论(0)
  • 2020-11-28 15:56

    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

    0 讨论(0)
提交回复
热议问题