java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/logging/LogFactory

后端 未结 5 1765
北海茫月
北海茫月 2021-02-04 01:31

Similar questions have need asked already. But this one seems to be more complicated than previous ones because of changes in compatibility of Android Platforms.

Here is

5条回答
  •  感动是毒
    2021-02-04 01:39

       /*Apache Commons Logging would crash starting Android 9.0 (Pie / API Level 28).*/
    
       //try this 
    
        testImplementation 'commons-logging:commons-logging:1.2'
    
        // in manifest   s
        
    
         /* if this files  'commons-logging:commons-logging:1.2' fails to download  then
          download this file manual  from http://commons.apache.org/proper/commons- 
           logging/download_logging.cgi and paste it lib folder*/
    

提交回复
热议问题