java– (Kotlin)Backend内部错误:代码生成期间的异常

java– (Kotlin)Backend内部错误:代码生成期间的异常,第1张

概述我正在使用最新的AndroidStudioCanary版本和最新的Kotlin为Kotlin创建一个非常彻底的Android转换器.我突然得到一个编译错误,甚至认为AndroidStudio没有看到代码中的任何错误,它抱怨后端错误,所以我认为我的项目很好,但AndroidStudio有一个bug?请帮忙确认,这已经做了很多工作….

我正在使用最新的Android Studio Canary版本和最新的Kotlin为Kotlin创建一个非常彻底的AndroID转换器.
我突然得到一个编译错误,甚至认为AndroID Studio没有看到代码中的任何错误,它抱怨后端错误,所以我认为我的项目很好,但AndroID Studio有一个BUG?请帮忙确认,这已经做了很多工作….

它抱怨我的班级MassCalc,这是6500行长,因为很多情况下转换,所以也许这就是问题?

UPDATE
点击清洁项目或重建项目时不会发生错误,当我尝试在模拟器中启动它时会发生错误!

非常简单的代码但长文件:

https://github.com/Josep-Jesus-Bigorra-Algaba/SuperConverterAndroid

我对Java很有经验,但从未见过这个例外!

e: java.lang.IllegalStateException: Backend Internal error: Exception during code generation

也:

org.gradle.execution.MultipleBuildFailures: Build completed with 1 failures.    at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:350)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:216)    at org.gradle.initialization.DefaultGradleLauncher.dobuildStages(DefaultGradleLauncher.java:146)    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:121)    at org.gradle.internal.invocation.GradleBuildController.call(GradleBuildController.java:77)    at org.gradle.internal.invocation.GradleBuildController.call(GradleBuildController.java:74)    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)    at org.gradle.internal.work.StopShIEldingWorkerLeaseService.withLocks(StopShIEldingWorkerLeaseService.java:38)    at org.gradle.internal.invocation.GradleBuildController.dobuild(GradleBuildController.java:96)    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)    at org.gradle.tooling.internal.provIDer.runner.ClIEntProvIDedBuildActionRunner.run(ClIEntProvIDedBuildActionRunner.java:68)    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)    at org.gradle.tooling.internal.provIDer.ValIDatingBuildActionRunner.run(ValIDatingBuildActionRunner.java:32)    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:47)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:43)    at org.gradle.tooling.internal.provIDer.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)    at org.gradle.launcher.exec.InProcessBuildActionExecuter.transform(InProcessBuildActionExecuter.java:50)    at org.gradle.launcher.exec.InProcessBuildActionExecuter.transform(InProcessBuildActionExecuter.java:46)    at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:74)    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:46)    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:32)    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)    at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)    at org.gradle.tooling.internal.provIDer.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)    at org.gradle.tooling.internal.provIDer.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)    at org.gradle.tooling.internal.provIDer.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)    at org.gradle.tooling.internal.provIDer.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)    at org.gradle.tooling.internal.provIDer.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)    at org.gradle.tooling.internal.provIDer.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)    at org.gradle.tooling.internal.provIDer.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)    at org.gradle.tooling.internal.provIDer.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)    at org.gradle.tooling.internal.provIDer.StartParamsValIDatingActionExecuter.execute(StartParamsValIDatingActionExecuter.java:59)    at org.gradle.tooling.internal.provIDer.StartParamsValIDatingActionExecuter.execute(StartParamsValIDatingActionExecuter.java:31)    at org.gradle.tooling.internal.provIDer.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)    at org.gradle.tooling.internal.provIDer.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)    at org.gradle.tooling.internal.provIDer.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)    at org.gradle.tooling.internal.provIDer.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.dobuild(ExecuteBuild.java:67)    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.WatchFordisconnection.execute(WatchFordisconnection.java:37)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.resetDeprecationLogger.execute(resetDeprecationLogger.java:26)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.call(ForwardClIEntinput.java:74)    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.call(ForwardClIEntinput.java:72)    at org.gradle.util.Swapper.swap(Swapper.java:38)    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.execute(ForwardClIEntinput.java:72)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.LogToClIEnt.dobuild(LogToClIEnt.java:62)    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.dobuild(EstablishBuildEnvironment.java:82)    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)    at org.gradle.launcher.daemon.server.exec.StartBuildOrResponDWithBusy.run(StartBuildOrResponDWithBusy.java:50)    at org.gradle.launcher.daemon.server.DaemonStateCoordinator.run(DaemonStateCoordinator.java:295)    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)    at org.gradle.internal.concurrent.ManagedExecutorImpl.run(ManagedExecutorImpl.java:46)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)    at java.lang.Thread.run(Thread.java:745)Caused by: org.gradle.API.tasks.TaskExecutionException: Execution Failed for task ':app:compileDeBUGKotlin'.    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)    at org.gradle.API.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)    at org.gradle.API.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)    at org.gradle.API.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)    at org.gradle.API.internal.tasks.execution.ValIDatingTaskExecuter.execute(ValIDatingTaskExecuter.java:59)    at org.gradle.API.internal.tasks.execution.SkipEmptySourcefilesTaskExecuter.execute(SkipEmptySourcefilesTaskExecuter.java:101)    at org.gradle.API.internal.tasks.execution.FinalizeinputfilePropertIEsTaskExecuter.execute(FinalizeinputfilePropertIEsTaskExecuter.java:44)    at org.gradle.API.internal.tasks.execution.CleanupStaleoutputsExecuter.execute(CleanupStaleoutputsExecuter.java:91)    at org.gradle.API.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)    at org.gradle.API.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)    at org.gradle.API.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)    at org.gradle.API.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)    at org.gradle.API.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)    at org.gradle.API.internal.tasks.execution.EventFiringTaskExecuter.run(EventFiringTaskExecuter.java:51)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.API.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)    at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:273)    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:258)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:135)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:130)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)    ... 6 moreCaused by: org.gradle.API.GradleException: Internal compiler error. See log for more details    at org.jetbrains.kotlin.gradle.tasks.TasksUtilsKt.throwGradleExceptionIfError(tasksUtils.kt:17)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.processCompilerExitCode(Tasks.kt:434)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:396)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:292)    at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:254)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke(Method.java:498)    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)    at org.gradle.API.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)    at org.gradle.API.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)    at org.gradle.API.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.run(ExecuteActionsTaskExecuter.java:131)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)    ... 34 more

在日志中:

org.gradle.API.tasks.TaskExecutionException: Execution Failed for task ':app:compileDeBUGKotlin'.    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)    at org.gradle.API.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)    at org.gradle.API.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)    at org.gradle.API.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)    at org.gradle.API.internal.tasks.execution.ValIDatingTaskExecuter.execute(ValIDatingTaskExecuter.java:59)    at org.gradle.API.internal.tasks.execution.SkipEmptySourcefilesTaskExecuter.execute(SkipEmptySourcefilesTaskExecuter.java:101)    at org.gradle.API.internal.tasks.execution.FinalizeinputfilePropertIEsTaskExecuter.execute(FinalizeinputfilePropertIEsTaskExecuter.java:44)    at org.gradle.API.internal.tasks.execution.CleanupStaleoutputsExecuter.execute(CleanupStaleoutputsExecuter.java:91)    at org.gradle.API.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)    at org.gradle.API.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)    at org.gradle.API.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)    at org.gradle.API.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)    at org.gradle.API.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)    at org.gradle.API.internal.tasks.execution.EventFiringTaskExecuter.run(EventFiringTaskExecuter.java:51)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.API.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)    at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:273)    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:258)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:135)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:130)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)    at org.gradle.internal.concurrent.ManagedExecutorImpl.run(ManagedExecutorImpl.java:46)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)    at java.lang.Thread.run(Thread.java:745)Caused by: org.gradle.API.GradleException: Internal compiler error. See log for more details    at org.jetbrains.kotlin.gradle.tasks.TasksUtilsKt.throwGradleExceptionIfError(tasksUtils.kt:17)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.processCompilerExitCode(Tasks.kt:434)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:396)    at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:292)    at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:254)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke(Method.java:498)    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)    at org.gradle.API.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)    at org.gradle.API.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)    at org.gradle.API.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.run(ExecuteActionsTaskExecuter.java:131)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)    ... 34 more

任何帮助将不胜感激!
编辑:我在macOS High SIErra工作,但我正在下载linux Mint,可能会尝试查看问题是否仍然存在!

解决方法:

我遇到了同样的问题,因为我使用的是不一致的Anko版本.使用kotlin 1.3.x,您必须使用此v0.10.8版本的anko或更新版本.

总结

以上是内存溢出为你收集整理的java – (Kotlin)Backend内部错误:代码生成期间的异常全部内容,希望文章能够帮你解决java – (Kotlin)Backend内部错误:代码生成期间的异常所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1097638.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存