Cannot enable Gradle's offline mode on Android Studio 3.6

后端 未结 10 1378
情书的邮戳
情书的邮戳 2020-11-27 21:06

I\'m using the new Android Studio 3.6 Canary 9 to test new functionalities, and I cannot enable Gradle\'s offline mode.

In Android Studio P

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-27 22:08

    Many people have given correct answer, I am just adding pictures relevant to Android Studio 3.6.2. When I upgraded to Android Studio 3.6.2 I kept getting error while doing build that 'Gradle was in offline mode' but under File>Settings>Gradle> I could not see the option to switchoff Gradle offline mode. So I did a fresh install of Android Studio 3.6.2 and I continued to get the same problem. After checking various answers I found that the placement of Gradle offline switch has changed & you can do the switch in Gradle panel as per the 2nd image below.

    Image1- Image2-

提交回复
热议问题