I found this warning after upgrading the latest android studio stable version
Error:Could not resolve all files for configuration \':app:xxxxxxxDebugCompil
change dependency declaration
from
compile files('libs/commons-lang-2.4.jar')
to
implementation files('libs/commons-lang-2.4.jar')