WordPress LMS for Web and mobile Forums App Support :app:transformDexArchiveWithDexMergerForDebug

:app:transformDexArchiveWithDexMergerForDebug

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55082

    Dante
    Participant

    hi

    after wplms v 2.6 I could not be able to setup a new project from scratch and after build command I ALWAYS GET THE ERROR:

    ———————

    Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/zxing/client/result/EmailAddressParsedResult;
    UNEXPECTED TOP-LEVEL EXCEPTION:
    com.android.dex.DexException: Multiple dex files define Lcom/google/zxing/client/result/EmailAddressParsedResult;

    com.android.dex.DexException: Multiple dex files define Lcom/google/zxing/client/result/EmailAddressParsedResult;
    at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
    at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
    at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
    at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
    at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
    at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)
    FAILED
    39 actionable tasks: 5 executed, 34 up-to-date
    at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)
    at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:transformDexArchiveWithDexMergerForDebug’.
    > com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/zxing/client/result/EmailAddressParsedResult;

    ———————–

    Please solve this :

    here is my ionic info:

    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 7.1.4
    Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 21 other plugins)

    Utility:

    cordova-res : 0.14.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

    #55285

    Harry
    Spectator

    Hello

    Replace the package.json with this file:https://bit.ly/3dqgxI1

    and rename the folder node_module and the package-lock.json

    After that run the command npm install.

     

    #55833

    Dante
    Participant

    i did that but the same issue again
    I want you give me you project setup because my old project setup is working just zip it and share it

    #55941

    Harry
    Spectator

    Hello

    Here is my app project folder: https://we.tl/t-BRULMnJR3t

     

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