build failing during merge resources with Android Gradle plugin 3.3.0

前端 未结 12 1407
不知归路
不知归路 2020-11-30 01:25

I have a lot of different flavors for my build that have specific resources and I don\'t want to clutter my src directory in my project with a bunch of flavor-specific direc

12条回答
  •  暖寄归人
    2020-11-30 01:51

    I had the same issue. The build would break and mention different png files, like your background_4.png, but only on a Windows PC. The build on a Mac had no problems.

    In my case the image size was the problem. Only images bigger than 2MB seamed to break the build. After reducing every image to something lesser than 2MB the build started working again.

提交回复
热议问题