79354251

Date: 2025-01-14 07:43:23
Score: 2.5
Natty:
Report link

I could solve the similar problem.

  1. Replace the "build.gradle"

    compileOptions { sourceCompatibility JavaVersion.VERSION_18 targetCompatibility JavaVersion.VERSION_18 } kotlinOptions { jvmTarget = JavaVersion.VERSION_18.toString() }

  2. Open "View -> Gradle -> Gradle Setting" and change "Gradle Jdk:" to "correto-18"

enter image description here

If nothing "corret-18", you can download it.

I have referred this page.

I'm not sure detail but I think mismatching JDK is resonate the problem.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: software-engineering-lab.com