Ionic cloud package error

#1

Hi,

I am using Ionic Pro and uploading my build to Ionic. When I package Android builds for production I first got the multiDex error saying that my plugins barcodescanner, facebook4 and fcm used the same dependencies. I added the plugin https://github.com/jwall149/cordova-multidex so that I would set the build.grade multidex = true. That worked, but now I get a followup error saying this:

:transformClassesWithJarMergingForRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:transformClassesWithJarMergingForRelease’.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/aztec/AztecDetectorResult.class

I think this is coupled with the multidex error, but not sure. Since I don’t have access to the gradle files I can’t change them.

Every solution I find regarding this and the multidex error is about changing the gradle files in the platform folder. But since I use Ionic cloud I can’t change those right?

This is my plugins from config.xml

I have Ionic version 3.20.0

Hope anyone can help me

Thanks