使用ndk r21e, 19c都试过,一样的异常
主要应该是这句
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60
请各位大神提供下思路,感谢
执行log
Initialized native services in: /Users/raz/.gradle/native
The client will now receive all logging from the daemon (pid: 3263). The daemon log file: /Users/raz/.gradle/daemon/6.7.1/daemon-3263.out.log
Starting 4th build in daemon [uptime: 1 hrs 46 mins 32.531 secs, performance: 99%, non-heap usage: 11% of 268.4 MB]
Using 8 worker leases.
Watching the file system is disabled
Starting Build
Compiling settings file '/Volumes/idea/ap.loh/app/_build/jsb-default/frameworks/runtime-src/proj.android-studio/settings.gradle' using BuildScriptTransformer.
FAILURE: Build failed with an exception.
* What went wrong:
Could not open settings generic class cache for settings file '/Volumes/idea/ap.loh/app/_build/jsb-default/frameworks/runtime-src/proj.android-studio/settings.gradle' (/Users/raz/.gradle/caches/6.7.1/scripts/cosblmr6z6caodk6i7s99p9w4).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 617ms
Error running command, return code: 1.