Menu

Need suggestions for commons-logging alternative package

2021-08-30
2021-10-04
  • James Ahlborn

    James Ahlborn - 2021-08-30

    from @sheharyar566 (https://sourceforge.net/p/jackcess/bugs/154/):

    Hi there,

    I was trying to add the jackcess package as well as commons-logging and commons-lang through maven central repository to my gradle based android project. However, the syncing is failing, and this is the log i am getting. If possible, can you please add an alternative package to the dependencies list?

    commons-logging defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar.
    

    Oh and here is how i am adding them to my gradle:

    dependencies {
        implementation 'org.apache.commons:commons-lang3:3.10'
        implementation 'commons-logging:commons-logging:1.2'
        implementation 'com.healthmarketscience.jackcess:jackcess:4.0.1'
    }
    
     
    • James Ahlborn

      James Ahlborn - 2021-08-31

      @sheharyar566, what have you tried so far?

       
      • Shehar Yar Khan

        Shehar Yar Khan - 2021-10-04

        Ah sorry for some reason, didn't receive any notification regarding this post... I basically downloaded the jars and used them and stopped getting the error. However, i'm not sure if that's a good idea.

         

Log in to post a comment.