Android Studio 3.0 Unable to merge dex

前端 未结 6 2016
遇见更好的自我
遇见更好的自我 2020-12-31 12:13

Just Updated android studio from 2.3.3 to 3.0 now I am having the error

Error:Execution failed for task \':app:transformDexArchiveWithExternalLibsDexMergerFo         


        
6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-31 12:24

    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.

提交回复
热议问题