当前位置: 代码迷 >> 综合 >> [已解决]Gradle 3.0 出现问题
  详细解决方案

[已解决]Gradle 3.0 出现问题

热度:64   发布时间:2023-12-16 14:58:59.0

使用Gradle3.0的时候报错:

 Gradle sync failed: Cause: org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection

         Consult IDE log for more details (Help | Show Log)


Failed to sync Gradle project 'mi-cashier-android'
Error:Cause: org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache 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 be corrupt. Stopping all Gradle daemons may solve this pr
  相关解决方案