无法在 Android Studio 3.6 上启用 Gradle 的离线模式 [英] Cannot enable Gradle's offline mode on Android Studio 3.6

查看:44
本文介绍了无法在 Android Studio 3.6 上启用 Gradle 的离线模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的 Android Studio 3.6 Canary 9 来测试新功能,但我无法启用 Gradle 的离线模式.

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

在 Android Studio 首选项窗口的 Gradle 选项卡中,我找不到启用它的入口点.这是错误还是 Google 禁用了 Gradle 的离线模式?

In Android Studio Preferences window, tab Gradle, I cannot find the entry point to enable it. Is this a bug or Google has disabled Gradle's offline mode?

注意 --offline 选项在使用命令行时仍然有效.

Note that --offline option is still working when using command line.

推荐答案

来自 Android Studio 3.6 新功能博客文章:

From the Android Studio 3.6 new features blog post:

用于切换 Gradle 离线模式的新位置要启用或禁用 Gradle 的离线模式,首先从菜单栏中选择 View > Tool Windows > Gradle.然后,在 Gradle 窗口顶部附近,单击 Gradle 面板中的 Toggle Offline Mode Gradle offline 按钮..

New location to toggle Gradle's offline mode 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..

这里是链接 -- 希望有帮助!

这篇关于无法在 Android Studio 3.6 上启用 Gradle 的离线模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆