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
An alternative workaround is to add the commons-logging
library as a .jar
file to your libs/
folder instead of using implementation
. Make sure that implementation fileTree(include: ['*.jar'], dir: 'libs')
is in your dependencies.
Sources of commons-logging-1.2.jar
:
Credit: Dale Lim - https://github.com/aws/aws-sdk-android/issues/265#issuecomment-411978696