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

Stack Overflow | Ped7g | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

    GitHub comment 14#898731

    GitHub | 6 years ago | jeppenejsum
    groovy.lang.MissingMethodException: No signature of method: java.lang.String.exists() is applicable for argument types: () values: [] 16:14:41.737 [ERROR] [org.gradle.BuildExceptionReporter] Possible solutions: wait(), next(), toList(), execute(), expand(), equals(java.lang.Object) 16:14:41.738 [ERROR] [org.gradle.BuildExceptionReporter] at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure7.doCall(RunJRubyPlugin.groovy:68) 16:14:41.738 [ERROR] [org.gradle.BuildExceptionReporter] at build_pvedn8o3fthnmua73ju19t560.runDBTask(/Users/jeppe/projects/test/gradle/build.gradle:28) at build_pvedn8o3fthnmua73ju19t560$_run_closure3.doCall(/Users/jeppe/projects/test/gradle/build.gradle:34)

    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