Im trying to include 2 .jar files into my android project I do this by dragging them into my libs folder and then after I also add them via Build->Edit Library and Dependencies->jar Dependency, I have done it with or without this last step, either way though when I add them to my libs folder if I try to run the app I get:
Information:Gradle tasks [:app:assembleDebug] Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex Information:BUILD FAILED in 10s Information:1 error Information:0 warnings Information:See complete output in console
But if I delete the files from my libs folder the error goes away, the problem is I obviously want to use these jar files for my app Ive seen other dex error topics here but none seem to address the issue when it happens like this via adding and removing jar files
Thanks