android studio was getting build error while build execution with following:
Error:Execution failed for task \':app:transformDexArchiveWithExternalLi
You can always revert to DX for now via this setting in your project's gradle.properties file:
gradle.properties
android.enableD8=false
For more info, see https://android-developers.googleblog.com/2018/04/android-studio-switching-to-d8-dexer.html