I am developing one project. This is working fine with Android studio 2.3.3, but what happen is when i updated my Android Studio 3.0 and open my project then it can\'t assembled
I agree with @CommonsWare that there is one another lib also contain commons-io
in your project.
There is an option to fix this conflict issue in gradle dependency. Add below code in your app level build.gralde
file.
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module('org.apache.commons:commons-io:1.3.2') with module('commons-io:commons-io:1.3.2')
}
}
Reason is that why that 'org.apache.commons:commons-io:1.3.2'
is conflict Check this stack overflow
question's answer.
Note:- To know more about apache commons collections and its different versions check this answer
If you're explicitly including this dependency in your build.gradle file:
org.apache.commons:commons-io:1.3.2
replace it with this one (or a later version):
commons-io:commons-io:2.4
You may need to do a clean/rebuild to get rid of a cached version.
The org.apache...
named one is both misnamed and now very out-of-date. Weirdly, some other org.apache...
named ones are apparently OK.