0
Error:Unable to find method 'org.gradle.api.artifacts.dsl.DependencyHandler.registerTransform(Ljava/lang/Class;Lorg/gradle/api/Action;)V'. 
Possible causes for this unexpected error include: 

    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. 

在腐败的摇篮处理的情况下,你也可以尝试关闭IDE,然后杀死所有Java进程。摇篮依赖条件,高速缓存可以在Android Studio中腐败?

+1

你有没有尝试禁用插件? –

+0

@MichaelVescovo还没有! – LoveAndroid

+0

试试吧,让我知道,如果工程.... –

回答

1

尝试禁用插件,因为它提到,可能有一个不兼容。