andy.li
andy.li

Reputation: 31

android studio dependencies apache.commons.logging failure

dependency commons-logging but failure and throw error:java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'commons-logging:commons-logging:1.1.3'
compile 'log4j:log4j:1.2.17'
compile 'org.springframework:spring-core:4.0.2.RELEASE'
compile 'com.android.support:appcompat-v7:23.0.1'
compile project(':volley')}

Upvotes: 1

Views: 2371

Answers (1)

Jintin
Jintin

Reputation: 1478

You can try andle to sync the dependency version you have.

It a little tool I wrote on github: https://github.com/Jintin/andle

After proceed, it show the result in console.

commons-logging:commons-logging: 1.1.3 -> 99.0-does-not-exist

If you still want to use it, you can find jar to include instead of using gradle.

Upvotes: 1

Related Questions