无法在Android Studio 3.6上启用Gradle的离线模式 [英] Cannot enable Gradle's offline mode on Android Studio 3.6
问题描述
我正在使用新的 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的离线模式,请首先从菜单栏中选择视图">工具窗口">"Gradle".然后,在"Gradle"窗口顶部附近,单击"Gradle"面板中的切换脱机模式",然后单击"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..
此处是链接-希望对您有所帮助!
Here is the link -- hope that helps!
这篇关于无法在Android Studio 3.6上启用Gradle的离线模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!