-
Notifications
You must be signed in to change notification settings - Fork 146
NoSuchMethodError: org.apache.commons.io.FileUtils.getFile(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File; #37
Comments
We haven't been able to reproduce, so any more details would help. |
Not able to reproduce, would need more info. |
I'm hitting the same error in the latest 1.2.0-SNAPSHOT (and on 1.1.1). Some info:
The only other Gradle plugin I'm using is android-apt. Adding I'd be happy to provide more information, is there something specific that would help @iordanis ? |
That's a bit hard to guess, would you be able to post a tiny project that reproduces the issue? Fork already brings commons-io as a dependency, so I can't think of why it would not find that method. You can check: |
Starting with a blank project, I encountered a different problem ("No devices found"), although I also stumbled upon this, looks related, albeit from a while ago: https://issues.gradle.org/browse/GRADLE-2963 |
For that one stop the gradle daemon: |
I found the issue to be a different Gradle plugin that I overlooked (applied in top level |
Oh cool, good to know we haven't broken anything :) |
When trying to run forkDebug from com.shazam.fork:fork-gradle-plugin:1.0.0-RC1-SNAPSHOT, I get the following NoSuchMethodError: org.apache.commons.io.FileUtils.getFile not found.
The text was updated successfully, but these errors were encountered: