本文介绍了在Android Studio 3.6中禁用Gradle脱机模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的Android Studio应用程序更新为Mac上的最新版本,版本为Android Studio 3.6,版本:#AI-192.7142.36.36.66.6200805

I updated my Android Studio application to the latest version on Mac to Android Studio 3.6, Build: #AI-192.7142.36.36.6200805

当由于Internet连接问题而导致构建失败时,我看到了启用脱机模式的选项(在Build输出区域中),我通过单击提供的链接来实现.

I saw the option to enable offline mode(in the Build output area or so) when the build failed due to Internet connection problems and I did so by clicking the supplied link.

稍后,我需要禁用离线模式,然后按照正常步骤进行操作:

Later on, I needed to disable offline mode and I followed the normal steps:

转到首选项>构建,执行,部署> Gradle.

Go to Preferences > Build, Execution, Deployment > Gradle.

但是在此构建中的Gradle选项上,没有选中离线工作"复选框

But on the Gradle option in this very build, there was no Check the Offline work checkbox

我的问题是:

如何在最新版本的Android Studio中禁用离线模式?

推荐答案

启用或禁用Gradle的离线模式.

To Enable or Disable Gradle's offline mode.

点击切换离线模式"以启用或禁用这两种方式

Click on the "Toggle Offline Mode" for enable or disable both

OR

这篇关于在Android Studio 3.6中禁用Gradle脱机模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 20:49
查看更多