I am using mixpanel for mobile analytics in my android app. Now for parsing HTML dom, I added Jsoup library and the gradle cant compile the android app.
":app:dexDebugAGPBI: {"kind":"SIMPLE","text":"UNEXPECTED TOP-LEVEL EXCEPTION:","position":{},"original":"UNEXPECTED TOP-LEVEL EXCEPTION:"}
AGPBI: {"kind":"SIMPLE","text":"com.android.dex.DexIndexOverflowException: Cannot merge new index 65775 into a non-jumbo instruction!","position":{},"original":"com.android.dex.DexIndexOverflowException: Cannot merge new index 65775 into a non-jumbo instruction!"}
I am guessing two libraries have conflicting dependencies. Any way to solve this issue?
EDIT: This stackoverflow answer solved it. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException