Senin, 18 Maret 2019

Remove duplicate resources in different flavors of APK

I have an app which has 2 different flavors, lets say F1 and F2 and resources specific to these are kept in following folder sturcture:

res

  • drawable
  • drawable-qualifier_for_F1
  • drawable-qualifier_for_F2

Now default folder "drawable" has default copy of all the resources and some of these are present in F1 and F2. In my APK for F1 the default folder contains the same resource that is present in drawable-qualifier_for_F1 folder.

How can I avoid this and only keep one copy of resource in my APK, that will be actually used, which in above case will be the one in drawable-qualifier_for_F1 folder.



from Remove duplicate resources in different flavors of APK

Remove duplicate resources in different flavors of APK Rating: 4.5 Diposkan Oleh: Admin

0 komentar:

Posting Komentar

Popular Posts