在 Android Studio 3.6 中禁用 Gradle 离线模式 [英] Disable Gradle Offline mode in Android Studio 3.6

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

问题描述

我将我的 Android Studio 应用程序更新到 Mac 上的最新版本到 Android Studio 3.6,版本:#AI-192.7142.36.36.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 连接问题而失败时,我看到了启用离线模式的选项(在构建输出区域左右),我是通过单击提供的链接来实现的.

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 下禁用离线模式?

推荐答案

相同的答案,但在图片中.

查看 Android Studio 的右侧,您将看到 gradle 选项卡.点击它.

Look at the right side of the Android studio, you will see gradle tab. Click on it.

如果你看不到gradle标签

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

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