On trying to build the kinvey libraries in Gradle initially i was getting the Exception 2 error, which is for more than 65k dex limit. Which i had fixed by adding multiDexMethod to True.
After this is received the next error which is:
for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/kinvey/android/AbstractAsyncUser$1.class
I am not sure how to fix this, i tried looking into other topics but all i could see was people mentioning to remove the redundant java api core file.
My Gradle FIle:
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
compile fileTree(dir: 'libs', include: ['*.jar'])
//https://support.kinvey.com/support/discussions/topics/12000001313 KINVEY FIX
Could you help me out here. Thanks in advance