Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/217.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 发生梯度同步错误。帮助解决这个问题_Android_Android Studio_Android Gradle Plugin_Build.gradle_Development Environment - Fatal编程技术网

Android 发生梯度同步错误。帮助解决这个问题

Android 发生梯度同步错误。帮助解决这个问题,android,android-studio,android-gradle-plugin,build.gradle,development-environment,Android,Android Studio,Android Gradle Plugin,Build.gradle,Development Environment,梯度同步错误。请帮我把这个修好。我用谷歌搜索了一下,所有的解决方案都不起作用 .groovy.ast.expr.ArgumentListExpression org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression Gradle's depende

梯度同步错误。请帮我把这个修好。我用谷歌搜索了一下,所有的解决方案都不起作用

.groovy.ast.expr.ArgumentListExpression
                    org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
                    Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
                    Re-download dependencies and sync project (requires network)
                    The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
                    Stop Gradle build processes (requires restart)
                    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.
                    In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
                    Consult IDE log for more details (Help | Show Log) (5 m 2 s 700 ms)

02:15 PM    Gradle sync started

02:16 PM    Gradle sync failed: org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
                    org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
                    Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
                    Re-download dependencies and sync project (requires network)
                    The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
                    Stop Gradle build processes (requires restart)
                    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.
                    In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
                    Consult IDE log for more details (Help | Show Log) (3 s 62 ms)


我相信问题出在您用于此项目的某个库上,您应该单独检查每个库,看看问题出在哪里。

您检查了日志吗?您是否同时发布build.gradle(项目级)和build.gradle(应用程序/模块级)文件