我的 SSD 坏了,所以我不得不重新开始。现在我被困在设置中。我非常仔细地按照 React 本地环境设置一步一步进行操作,在此之前我安装了 Java 16。现在,当我尝试启动新项目时,我初始化了这就是我得到的:
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Users\Alyz\Documents\testProj\android\settings.gradle'
* What went wrong:
Could not compile settings file 'C:\Users\Alyz\Documents\testProj\android\settings.gradle'.
> startup failed:
General error during semantic analysis: Unsupported class file major version 60
java.lang.IllegalArgumentException: Unsupported class file major version 60
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:196)
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:177)
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:163)
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:284)
...