android studio was getting build error while build execution with following:
Error:Execution failed for task \':app:transformDexArchiveWithExternalLi
In my case changing firebase library version from 2.6.0 to 2.4.2 fixed the issue