Just Updated android studio from 2.3.3 to 3.0 now I am having the error
Error:Execution failed for task \':app:transformDexArchiveWithExternalLibsDexMergerFo
It started happening in my case after adding the following dependency.
implementation 'com.getbase:floatingactionbutton:1.9.0'
I've tried all suggestions published here and in other places, but nothing has worked.
I've tried then a common solution that helped in many other cases and it worked. I've simply used "Sync project with gradle files" from the following menu that can be found in Tools.