Entry name 'AndroidManifest.xml' collided (Build failed after updating the android gradle plugin to 3.6.0)

前端 未结 6 1504
囚心锁ツ
囚心锁ツ 2021-02-04 02:02

I have recently updated the Android Studio from 3.5(stable) to 3.6(stable).

Then I saw the plugin update was also available, so I have updated the version of "com.an

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 02:30

    I found a workaround by adding this to the app's build.gradle:

    android {
        packagingOptions {
            exclude 'AndroidManifest.xml'
        }
    }
    

    I had this to fix an issue with creating a bundle, due to Facebook's Audience Network, on Android Studio 3.5.

提交回复
热议问题