【问题标题】:can anyone help me out with this issue? i am new to flutter and learning to develop my interest please help me out in this [closed]谁能帮我解决这个问题?我是新来的颤振和学习发展我的兴趣请帮助我[关闭]
【发布时间】:2021-07-04 11:21:15
【问题描述】:

FAILURE:构建失败并出现异常。 什么地方出了错: 无法打开设置文件“/Users/musadique/AndroidStudioProjects/testing_app/android/settings.gradle”的设置通用类缓存(/User/musadique/.gradle/caches/6.7/scripts/f0emg6u6oecmxqzgk5g9nn4ui)。

错误!源单元“BuildScript”中的“语义分析”阶段异常 不支持的类文件主要版本 60

【问题讨论】:

    标签: flutter android-studio gradle exception build


    【解决方案1】:

    I had this BUG! exception in phase 'semantic analysis' in source unit '...' 今天发布,升级 gradle(如评论中所述)不起作用。

    对我有用的是清理 gradle 缓存:

    rm -rf $HOME/.gradle/caches/
    

    和项目gradle目录

    rm -rf $PROJECT/.gradle/caches/ && rm -rf $PROJECT/build/
    

    【讨论】:

      猜你喜欢
      • 2020-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-19
      • 2022-12-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多