decodedhealth / flutter_zoom_plugin

Flutter plugin for zoom
Apache License 2.0
125 stars 83 forks source link

Update build.gradle ( to solve zm_next_arrow.xml issue) #64

Closed damphat closed 3 years ago

damphat commented 3 years ago

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 happended

packagingOptions {
        pickFirst '**/*'
}

This setting is backward compatible to gradle 3.4 as well.

damphat commented 3 years ago

33 #38

Maqsood0 commented 2 years ago

Adding packagingoptions do not work.What is the proper solution to this problem.