We have integrated the Marketing Cloud Android SDK (v. 5.3.2) using these instructions: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/sdk-implementation/implement-sdk-google.html
When building the app in Android Studio, we get:
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/tozny/crypto/android/AesCbcWithIntegrity$CipherTextIvMac.class
Apparently both the Marketing Cloud library and another library in our project rely on: https://github.com/tozny/java-aes-crypto
We can try excluding this dependency, by writing this is build.gradle: compile ('com.salesforce.marketingcloud:marketingcloudsdk:5.3.2') { exclude group: 'com.tozny.crypto.android' }
Is there any downside in doing this, or what else should we try?
Thanks, Robert