Open winigma opened 7 years ago
@winigma @jbuchman Is there a work around this Issue ? , Im facing this same Exact Issue while integrating inapp capabilities on our Project, We use realm for our persistence but apparently is conflicting with the included dependency of inapp.jar
Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lio/realm/DefaultRealmModule; Error:com.android.dex.DexException: Multiple dex files define Lio/realm/DefaultRealmModule; Error: at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:608) Error: at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:563) Error: at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:545) Error: at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:167) Error: at com.android.dx.merge.DexMerger.merge(DexMerger.java:194) Error: at com.android.builder.dexing.DexArchiveMergerCallable.mergeDexes(DexArchiveMergerCallable.java:66) Error: at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:54) Error: at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:37) Error: at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424) Error: at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) Error: at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) Error: at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) Error: at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Error:Execution failed for task ':app:transformDexArchiveWithDexMergerForDevelDebug'.
This problem occurs by including the InApp library, could you update the version of Realm it uses?