Closed damphat closed 3 years ago
makes it compatible with gradle 3.5+
These libs contain some duplicated files (zm_next_arrow.xml, and many mores) lib/commonlib.aar lib/mobilertc.aar
Duplicated files works with gradle 3.4 but failed to build with gradle 3.5
To solve the problem, we must explicitly tell gradle to pickFirst file when conflicting happended
pickFirst
packagingOptions { pickFirst '**/*' }
This setting is backward compatible to gradle 3.4 as well.
Adding packagingoptions do not work.What is the proper solution to this problem.
makes it compatible with gradle 3.5+
Problem:
These libs contain some duplicated files (zm_next_arrow.xml, and many mores) lib/commonlib.aar lib/mobilertc.aar
Duplicated files works with gradle 3.4 but failed to build with gradle 3.5
Solve:
To solve the problem, we must explicitly tell gradle to
pickFirst
file when conflicting happendedThis setting is backward compatible to gradle 3.4 as well.