android studio error: Unsupported class file major version 57

Gradle Daemon started in 1 s 218 ms

FAILURE: Build failed with an exception.

* Where:
Initialization script 'C:\temp\sync.studio.tooling.gradle'

* What went wrong:
Could not compile initialization script 'C:\temp\sync.studio.tooling.gradle'.
> startup failed:
  General error during semantic analysis: Unsupported class file major version 57
 
  java.lang.IllegalArgumentException: Unsupported class file major version 57
      at groovyjarjarasm.asm.ClassReader.(ClassReader.java:184)
      at groovyjarjarasm.asm.ClassReader.(ClassReader.java:166)
      at groovyjarjarasm.asm.ClassReader.(ClassReader.java:152)
      at groovyjarjarasm.asm.ClassReader.(ClassReader.java:273)
      at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)
      at   ...


  1 error


solution:
change gradle version to latest.
re-build.


留言

這個網誌中的熱門文章

最爛的銀行服務-玉山銀行

Mark App Design Apps - Terms and Privacy Policy (服務條款,隱私權政策)

SMR疊瓦式hdd致命缺陷被解決????!!!

ios app 上架時app icon要注意事項

更改google drive預設存放目錄位置Change Google Drive Default Folder Location in Windows

google play 正式發布前測試報告...非常好用.

舊有app在Android 12 閃退問題& app Splash screens

app bundle and bundletool. 關於aab安裝問題

關於google play console app應用程式簽署

Google Play badge徽章產生器