commons-logging defines classes that conflict with classes now provided by Android after Android Studio Update

前端 未结 8 1866
别跟我提以往
别跟我提以往 2020-12-01 13:34

I have updated Android Studio to version 3 and now seems unable to compile my project previously compiled without errors.

The error message is the follow

8条回答
  •  不思量自难忘°
    2020-12-01 14:08

    If the problem is with commons-logging then it must be excluded too. Add the following code in app/build.gradle

    configurations {
        all {
            exclude module: 'httpclient'
            exclude module: 'commons-logging'
        }
    }
    

提交回复
热议问题