构建失败,因为“ org.gradle.tooling.BuildException:设置了无效的代码长度”

时间:2018-10-02 12:53:57

标签: java android

每当我尝试运行应用程序或进行apk时都会发生此错误,并且我不记得在此问题出现之前进行了任何重大更改 这是详细信息

失败:构建失败,并出现异常。

Caused by: org.gradle.tooling.BuildException: invalid block type
at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$2.invoke(BuildElements.kt:133)
at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler$transform$2.invoke(BuildElements.kt:110)
at kotlin.sequences.SequencesKt___SequencesKt$onEach$1.invoke(_Sequences.kt:1260)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:149)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:109)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:133)
at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:153)
at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:633)
at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:663)
at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:654)
at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler.transform(BuildElements.kt:140)
at com.android.build.gradle.internal.scope.BuildElements$ExecutorBasedScheduler.into(BuildElements.kt:115)
at com.android.build.gradle.internal.scope.BuildElementActionScheduler.into(BuildElementActionScheduler.kt:32)
at com.android.build.gradle.tasks.PackageAndroidArtifact.doFullTaskAction(PackageAndroidArtifact.java:401)

还有更多要添加的内容,错误详细信息超过35000个字符,但该网站不允许我添加所有内容。 我会尽快回应您可能想知道的任何事情

以下是错误https://drive.google.com/file/d/1v5xZkWXORuzAUVhOl_NY2b_kBZILKrT9/view?usp=sharing

的完整详细信息

0 个答案:

没有答案