Androiderson
Androiderson

Reputation: 17083

Can't toggle offline mode

I've just installed AS 4.0 alpha 4 and imported setting from AS 3.5.2 where I had offline mode ON.

Settings on AS 4.0 are different and I can't find that option. Now I'm stuck on offline mode and can't build a project. All I get is

No cached version listing for xxx available for offline mode.

Where did this setting go?

Upvotes: 0

Views: 1162

Answers (2)

hoot
hoot

Reputation: 1225

Thanks @Giorgos Neokleous a lot![enter image description here]1

Upvotes: 2

Giorgos Neokleous
Giorgos Neokleous

Reputation: 1767

You can use the "Find Action" shortcut to find what you are looking for.

  • Windows: "Control + Shift + A"
  • Mac: "Cmd + Shift + A"

Once the Find Action popup is present start typing "toggle offline mode". It should show up shortly, and you can even toggle it from there.

Find Action row

Check out the whole list of keyboard shortcuts at the official documentation.

UPDATE

You can check the release notes here

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 Gradle offline button in the Gradle panel..

Upvotes: 4

Related Questions