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
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' } }