https://stackoverflow.com/questions/49028119/multiple-dex-files-define-landroid-support-design-widget-coordinatorlayoutlayou
Update the library versions to 27.1.0 solve the isssue for me.
删除Build文件,重新编译