groovy.lang.MissingMethodException: No signature of method: com.android.build.gradle.internal.core.GradleVariantConfiguration.getAllLibraries() is applicable for argument types: () values: []

Stack Overflow | Ped7g | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android gradle plugin (after upgrade to 2.2.0) fails at dexguard task error "No signature of method: ....getAllLibraries()"

    Stack Overflow | 5 months ago | Ped7g
    groovy.lang.MissingMethodException: No signature of method: com.android.build.gradle.internal.core.GradleVariantConfiguration.getAllLibraries() is applicable for argument types: () values: []

    Root Cause Analysis

    1. groovy.lang.MissingMethodException

      No signature of method: com.android.build.gradle.internal.core.GradleVariantConfiguration.getAllLibraries() is applicable for argument types: () values: []

      at com.guardsquare.dexguard.h.getProguardFiles()
    2. com.guardsquare.dexguard
      ao.doCall
      1. com.guardsquare.dexguard.h.getProguardFiles(DexGuard7.1.23:1090)
      2. com.guardsquare.dexguard.ao.doCall(DexGuard7.1.23:784)
      2 frames
    3. Gradle Core
      AbstractTask$ClosureTaskAction.execute
      1. org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:590)
      1 frame