```distributionUrl=https\://services.gradle.org/di...
# community-support
l
Copy code
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
kotlin.version="2.1.0"
 id("com.android.application") version "8.10.0" apply false
Iam facing this error:                                                                          FAILURE: Build failed with an exception.

* Where:
Build file 'C:\HealthMate\frontend\android\app\build.gradle.kts' line: 1

* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.android', version: '2.1.0']
> Failed to apply plugin 'org.jetbrains.kotlin.android'.
   > Could not create an instance of type org.jetbrains.kotlin.gradle.plugin.mpp.KotlinAndroidTarget.
      > Could not generate a decorated class for type KotlinAndroidTarget.
         > com/android/build/gradle/api/BaseVariant

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --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 36s
Running Gradle task 'assembleRelease'...                           36.8s
Gradle task assembleRelease failed with exit code 1