@firstseed wrote:
Hi Everyone,
After integrating facebook, my build.gradle looks like this.
apply plugin: 'com.android.library' android { compileSdkVersion 22 buildToolsVersion '22.0.1' defaultConfig { versionCode 1 versionName "1.0" minSdkVersion 15 targetSdkVersion 22 } sourceSets.main { aidl.srcDir "../java/src" java.srcDir "../java/src" manifest.srcFile "AndroidManifest.xml" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } productFlavors { } } dependencies { compile fileTree( include: ['*.jar'], dir: '../java/libs') compile project(':facebook_lib') }
When I do cocos compile, I am getting the below exception.
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':BreakPots:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/util/LongSparseArray.class
Pleas help me to fix this issue. Struggling for more than two days.
Posts: 1
Participants: 1