Building Andriod Source code

Whatsapp clone for Android and iOS
Light-Angel
Posts: 2
Joined: Tue Oct 06, 2015 1:11 pm

Building Andriod Source code

Postby Light-Angel » Tue Oct 06, 2015 1:15 pm

when i build it i keep getting this error

Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: com/squareup/picasso/Action$RequestWeakReference.class

and i have no clue how to fix it

and you only have a guild for building it for IOS but no build guild for andriods

chitrax
Posts: 76
Joined: Mon Aug 24, 2015 9:37 am

Re: Building Andriod Source code

Postby chitrax » Wed Oct 14, 2015 12:55 pm

I have the same problem . This is because some jar added twice.

You can resolve it adding following code on you gradle .
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
}

Paul
Posts: 137
Joined: Mon Aug 24, 2015 4:53 pm

Re: Building Andriod Source code

Postby Paul » Fri Feb 26, 2016 11:56 am

Hi,
You can also solve the issue by placing the following code in your build.gradle file
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}


Return to “FreshIM Pro”

Who is online

Users browsing this forum: No registered users and 0 guests