我该如何在Android Studio Bumblebee中更换Gradle进行扑朔迷离的项目

发布于 2025-01-21 19:38:24 字数 573 浏览 4 评论 0原文

我在Ubuntu上有Android Studio Bumblebee,我需要让Gradle离线工作。我找不到Gradle选项卡来尝试一些建议。

如何更改Gradle的设置?

将在此处的一种解决方案中所建议的设置< a href =“ https://stackoverflow.com/questions/32171524/32171524/how-to-configure-gradle-gradle-to-work-work-work-work-fline-us- in-cached-dependencies”>如何配置Gradle来工作“离线” )不起作用,因为在Gradle设置下无法使用离线选项。

我需要将Gradle设置为脱机工作,以便我可以运行我认为网络上下载gradle时失败的颤音应用程序。我已经尝试手动下载Gradle并链接,但是每次运行该应用程序时,都有一个网络故障,它会删除手动插入的Gradle Zip文件并尝试再次下载。

I have Android Studio Bumblebee on ubuntu and I need to set my Gradle to work offline. I can't find the gradle tab to try out some of the suggestions such as this one.

How to change Gradle's setting?

Going to settings as suggested in one of the solutions here How to configure Gradle to work "offline" (using cached dependencies) does not work as the option for offline is not available under the Gradle setting.

I need to set the Gradle to work offline so that I can run my flutter application which is failing when downloading the Gradle due to poor network I presume. I have tried downloading the Gradle manually and linking but each time I run the app and there is a network failure it deletes the manually inserted Gradle zip file and tries to download again .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

行雁书 2025-01-28 19:38:24

我怀疑该项目与gradle.build文件打开时没有正确链接。

要解决这个关闭项目,然后转到Open&GT;然后选择build.gradle文件。然后,这将作为Gradle项目打开该项目,而Gradle Pane将会出现。

I suspect that the project was not properly linked with the gradle.build file when I opened it since it's a flutter project.

To fix this close the project and then go to Open > Then select the build.gradle file. This will then open the project as a gradle project and the gradle pane will appear.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文