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

前端 未结 6 1631
野的像风
野的像风 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:40

    The easiest way I've found to resolve this problem is to use a wildcard, so you don't find yourself having to manually declare each file in conflict.

    packagingOptions {
        pickFirst  '**'
    }
    

提交回复
热议问题