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

前端 未结 6 1519
囚心锁ツ
囚心锁ツ 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:48

    This is caused by Android Gradle plugin 3.6, revert to using the old packaging tool by including the following in your gradle.properties file will fix this:

    android.useNewApkCreator=false
    

    More info please check the release note: https://developer.android.com/studio/releases/gradle-plugin#zipflinger

提交回复
热议问题