After upgrading from com.android.tools.build:gradle:2.0.0-alpha3to, com.android.tools.build:gradle:2.0.0-alpha6I got this error:
Error:Execution failed for task ':MyApp:transformClassesWithMultidexlistForDebug'.
> java.util.NoSuchElementException (no error message)
I have one multiDexEnabled truethat has worked so far (before alpha3); if I delete it, I get another error:
Error:A problem was found with the configuration of task ':MyApp:zipalignDebug'.
> File '/Users/myuser/dev/projects/my-app/MyApp/build/outputs/apk/MyApp-debug-unaligned.apk' specified for property 'inputFile' does not exist.
Any clue?
Note: after upgrading to, alpha6I also updated distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zipin gradle-wrapper.propertiesand ran the clean + rebuild project.
source
share