Android - Gradle构建错误

时间:2016-11-30 00:04:13

标签: android android-studio gradle android-gradle build.gradle

我收到两个与将字节码转换为dex(read more about it here)相关的错误后,我将firebase库从compile 'com.google.firebase:firebase-core:10.0.0'更新为compile 'com.google.firebase:firebase-core:10.0.1',之后我注意到问题几乎已经解决但是建成之后我就得到了:

活动日志

00:49:13 RuntimeException: java.io.EOFException
00:51:23 RuntimeException: java.io.EOFException
00:52:57 Gradle build finished with 1 error(s) in 6m 38s 458ms
00:52:58 EmptyThrowable: Merged rootsChanged not allowed inside rootsChanged, rootsChanged level == 1

GRADLE BUILD MESSAGE

Error:Execution failed for    task ':app:transformClassesWithDependencyCheckerForDebug'.
> org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.gradle.api.tasks.incremental.InputFileDetails
he may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires   network)</a></li><li>The state of a Gradle build process (daemon) may becorrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

0 个答案:

没有答案