After git cloning from here,
I first faced with this error:
1: Task failed with an exception.
-----------
* Where:
Build file 'C:\...\voicegym\app\build.gradle' line: 3
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt
following this advice, i added these to build.gradle (Project: voicegym)
buildscript {
ext.kotlinVersion = '1.3.72' // previously '1.2.60'
ext.springBootVersion = '2.0.4.RELEASE'
ext.anko_version='0.10.4'
repositories {
...
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Now, i have this error
Build file 'C:\...\voicegym\build.gradle' line: 5
A problem occurred evaluating root project 'voicegym'.
> Could not get unknown property 'kotlin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
kotlin_version
but you have definedkotlinVersion
ext.kotlin_version= '1.3.72'
or should i setclasspath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "