Android Studio 3.0 Execution failed for task: unable to merge dex

前端 未结 26 3518
野性不改
野性不改 2020-11-27 11:52

android studio was getting build error while build execution with following:

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

26条回答
  •  臣服心动
    2020-11-27 12:10

    To remove this Dex issue just implement one dependency. This issue occur when we are using multiple different service from the same server. Suppose we are using ads and Firestore in a project and both have a repository maven. so we need to call different data with on repository we need dex dependency to implement. The new update Dependency:-

     implementation 'com.android.support:multidex:1.0.3'
    

    I'm sure it will resolve your issue permanent

提交回复
热议问题