You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Studio Meerkat | 2024.3.1 中Gradle同步异常导致无法构建问题求助

Android Studio Meerkat | 2024.3.1 中Gradle同步异常导致无法构建问题求助

各位大佬好,我最近在Android Studio Meerkat(2024.3.1)里碰到个头疼的问题:Gradle不兼容,导致项目完全没法生成构建文件,折腾半天没搞定,想请大家支支招!

先说说我的环境配置:

  • Flutter版本:3.27
  • OpenJDK版本:openjdk version "11.0.26" 2025-01-21,具体是OpenJDK Runtime Environment Homebrew (build 11.0.26+0),OpenJDK 64-Bit Server VM Homebrew (build 11.0.26+0, mixed mode)

我的Settings.gradle文件内容(刚才粘贴的时候没写完,先放目前的部分):

pluginManagement {
    def flutterSdkPath = {
        def properties = new Properties()
        file("local.properties").withInputStream { properties.load(it) }
        def flutterSdkPath = properties.get

每次同步Gradle都会报错,构建流程根本走不下去,有没有遇到过类似情况的朋友,能给我一些排查或者解决的建议吗?万分感谢!

备注:内容来源于stack exchange,提问作者Yashraj

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 16:29:42