codernaut / citizenconnect

Apache License 2.0
1 stars 9 forks source link

Fixing mail libs location and gradle #20

Closed wahibhaq closed 6 years ago

codernaut commented 6 years ago

Though i am merging it but its better if we refer some online repo instead of jars, i will give it a look see on the week end

wahibhaq commented 6 years ago

@codernaut I didn't mention but I tried using these dependencies

    implementation 'com.sun.mail:android-mail:1.5.5'
    implementation 'com.sun.mail:android-activation:1.5.5'

But it was causing DexArchiveMergerException and couldn't find a suitable solution. These are really old APIs from 2015 and other jars inside these libs must be clashing with newer ones. Thats why most of the resources you will see recommend just importing these 3 libs separately. Also sometimes it makes to do it if you are only using a very subset of a bigger library to avoid massively increasing the method count in android.