Код: Выделить всё
e: Could not load module
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kaptGenerateStubsMyIapKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 54s
Код: Выделить всё
e: Could not load module
Flag is not supported by this version of the compiler: -Xuse-experimental=kotlin.Experimental
Код: Выделить всё
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.Experimental", '-Xjvm-default=all-compatibility']
}
Как получить представление о том, что не так? Как правильно отладить эту проблему? Любые советы приветствуются.
Подробнее здесь: https://stackoverflow.com/questions/782 ... ion-failed
Мобильная версия