Error while compiling release build in Android Studio 3.0 RC2

后端 未结 6 1738
耶瑟儿~
耶瑟儿~ 2020-12-10 03:58

How can I fix this issues while compiling release build in Android Studio 3.0 RC2

Error:Error: commons-logging defines classes that conflict with cl

6条回答
  •  难免孤独
    2020-12-10 05:03

    The same error i fixed by this piece of code...

    android {
    ...
    
    configurations {
        all {
            exclude module: 'httpclient'
            exclude module: 'json'
            exclude group: 'org.apache.httpcomponents'
        }
    }
    
    ...
    }
    

提交回复
热议问题