Android Studio: Duplicate files copied in APK META-INF/DEPENDENCIES when compile

前端 未结 6 1621
野的像风
野的像风 2020-11-29 04:56

I exported my project from Eclipse and imported to Android Studio using the instructions in this link: http://developer.android.com/sdk/installing/migrate.html

When

6条回答
  •  春和景丽
    2020-11-29 05:45

    The simplest solution is to add

     packagingOptions {
        pickFirst  'META-INF/*'
    }
    

    to your build.gradle in android section

提交回复
热议问题