无法切换离线模式
Can't toggle offline mode
我刚刚安装了 AS 4.0 alpha 4 并从 AS 3.5.2 导入了设置,其中我打开了离线模式。
AS 4.0 的设置不同,我找不到该选项。现在我卡在离线模式,无法构建项目。我得到的只是
No cached version listing for xxx available for offline mode.
这个设置去哪儿了?
您可以使用 "Find Action" 快捷方式查找您要查找的内容。
- Windows: "Control + Shift + A"
- Mac: "Cmd + Shift + A"
出现查找操作 弹出窗口后,开始键入“切换离线模式”。它应该很快就会出现,您甚至可以从那里切换它。
在 official documentation 查看完整的键盘快捷键列表。
更新
您可以查看发行说明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..
非常感谢@Giorgos Neokleous]1
我刚刚安装了 AS 4.0 alpha 4 并从 AS 3.5.2 导入了设置,其中我打开了离线模式。
AS 4.0 的设置不同,我找不到该选项。现在我卡在离线模式,无法构建项目。我得到的只是
No cached version listing for xxx available for offline mode.
这个设置去哪儿了?
您可以使用 "Find Action" 快捷方式查找您要查找的内容。
- Windows: "Control + Shift + A"
- Mac: "Cmd + Shift + A"
出现查找操作 弹出窗口后,开始键入“切换离线模式”。它应该很快就会出现,您甚至可以从那里切换它。
在 official documentation 查看完整的键盘快捷键列表。
更新
您可以查看发行说明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..
非常感谢@Giorgos Neokleous