WordPress LMS for Web and mobile Forums Ionic App Support app:transformClassesWithMultidexlistForDebug

app:transformClassesWithMultidexlistForDebug

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49755

    Dante
    Participant

    When I try to Compile new app it fails…

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:transformClassesWithMultidexlistForDebug’.
    > com.android.build.api.transform.TransformException: Error while generating the main dex list:
    Error while merging dex archives:
    Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
    Program type already present: com.google.zxing.aztec.AztecDetectorResult

    —————————My ionic info———–

    Ionic:

    Ionic CLI : 5.4.16 (C:\Users\ASRGURU\AppData\Roaming\npm\node_modules\ionic)
    Ionic Framework : ionic-angular 3.9.5
    @ionic/app-scripts : 3.2.2

    Cordova:

    Cordova CLI : 8.1.1 ([email protected])
    Cordova Platforms : android 8.1.0
    Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 19 other plugins)

    Utility:

    cordova-res : 0.11.0
    native-run : 1.0.0

    System:

    Android SDK Tools : 26.1.1 (E:\sdk)
    NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
    npm : 6.13.4
    OS : Windows 10

    ———————————————

    #49824

    Harry
    Spectator

    Hello

    Uninstall the multidex plugin and then trying to build the App.

    You should use my package.json file : https://we.tl/t-XbxarsQvVF

    But before Replacing this just take a backup.

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.