[英]Android Studio offline option is not showing up
I faced following issue, so I needed to uncheck offline option in Android Studio but my offline option is not there, I am also attaching the screenshot and 3 errors.我遇到了以下问题,所以我需要在 Android Studio 中取消选中离线选项,但我的离线选项不存在,我还附上了屏幕截图和 3 个错误。 My android studio version is 3.6.1
我的 android studio 版本是 3.6.1
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'.
Second:第二:
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:3.5.3.
Third:第三:
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of com.android.tools.build:gradle:3.5.3 available for offline mode.
From the Android Studio 3.6 new features blog post:来自 Android Studio 3.6 新功能博客文章:
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.切换 Gradle 离线模式的新位置 要启用或禁用 Gradle 离线模式,首先从菜单栏中选择查看 > 工具窗口 > Gradle。 Then, near the top of the Gradle window, click Toggle Offline Mode Gradle offline button
然后,在 Gradle 窗口顶部附近,单击 Toggle Offline Mode Gradle offline 按钮
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.