FAILURE: Build failed with an exception.
Compiling settings file ‘E:\Plane\build\jsb-link\frameworks\runtime-src\proj.android-studio\settings.gradle’ using BuildScriptTransformer.

  • What went wrong:
    Could not open settings generic class cache for settings file ‘E:\Plane\build\jsb-link\frameworks\runtime-src\proj.android-studio\settings.gradle’ (C:\Users\Angel.gradle\caches\6.7.1\scripts\4k9ijk2w469rcga7h4uxfsoka).

BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 62

可以看一下你的gradle-wrapper.properties文件中gradle的版本
如果你使用的javajdk的版本比较高呢尽量升级一下gradle版本
我这边使用的是distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip
仅供参考

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐