since almost 2 months I'm searching for a solution for the following Problem. I implemented a library in my app which also includes the IInAppBillingService.aidl file and the other parts of the In App Billing Library from Google. When I'm trying to compile a release version of my app it just throws the following error:
Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/android/vending/billing/IInAppBillingService$Stub$Proxy.class
For the time being I was just using this Library for in app purchases instead of putting it directly in my. This worked fine for the most part, but what really get on my nerves is that I can't change anything inside the IabHelper.class for example. Since we all no that Google In App Billing solution is sometimes buggy I wanted to edit the IabHelper.class. So now the Problem with 2 "IInAppBillingService.aidl" files is obviously back. I already tried to exclude this part of the Library with the fowlling code:
compile ('com.adobe.creativesdk:image:4.4.8') {
exclude module: 'com.android.vending.billing'
}
It is NOT working..... :( What can I do? Do you have any other solution for this? I hate it how much time is going to waste on all those Library problems.....
Thanks a lot!!
To solve this problem, follow these steps:
1- open project mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With