Android-inapp-billing-v3: FYI: Remove InAppBillingService.aidl before using this library

Created on 22 Aug 2014  ·  11Comments  ·  Source: anjlab/android-inapp-billing-v3

Spent about an hour trying to fix why it wouldn't compile until I found the "Multiple Dex declarations" and after google-Fu, i found the issue was having the aidl file installed. This library already has it.

Was tracking down a bunch of funky errors that didn't make sense...

Thought it might help the next soul with this issue.

Cheers

Most helpful comment

I don't have a aidl file to remove

All 11 comments

It should compile just fine with Android Studio

Отправлено с iPhone

22 авг. 2014 г., в 5:45, ObjectiveTruth [email protected]
написал(а):

Spent about an hour trying to fix why it wouldn't compile until I found the
"Multiple Dex declarations" and after google-Fu, i found the issue was
having the aidl file installed. This library already has it.

Was tracking down a bunch of funky errors that didn't make sense...

Thought it might help the next soul with this issue.

Cheers


Reply to this email directly or view it on GitHub
https://github.com/anjlab/android-inapp-billing-v3/issues/22.

It works fine now, just had to remove the old aidl from google, nothing wrong with the library. Great work btw love the library

Hi, I got some problem while integrating billing library with CreativeSDK(aviary), I got

Error:Execution failed for task ':Analyst:packageAllDebugClassesForMultiDex'.
java.util.zip.ZipException: duplicate entry: com/android/vending/billing/IInAppBillingService$Stub$Proxy.class

this exception. Can you please help me to figure out.

Thanks.

I have de same problem with CreativeSDK

Hi Guys,
I solve this problem using extending my Application class to MultidexApplication, before it was Class A extends Application, after I changed it is Class A extends MultidexApplication.

Can someone else confirm this solution works?

On Tue, Sep 1, 2015 at 6:01 PM Biswajit Ghosh [email protected]
wrote:

Hi Guys,
I solve this problem using extending my Application class to
MultidexApplication, before it was Class A extends Application, after I
changed it is Class A extends MultidexApplication.


Reply to this email directly or view it on GitHub
https://github.com/anjlab/android-inapp-billing-v3/issues/22#issuecomment-136752953
.

Sergey, AnjLab

Not for me @serggl

If using MultidexApplication instead of enabling it from gradle like multidexEnabled true i used multidex dependency compile 'com.android.support:multidex:1.0.1' and it worked. I didnt use any library for implementing it but i wrote it here in case this will help someone

Issue Fixed !!!

You have a duplicate resource entry "IInAppBillingService$Stub$Proxy.class" in your library jar android_6558830429113811056.jar

Just Removed my aidl file.
No need to make any changes in any file just remove your aidl file it worked for me.
Thanks Hope It will help you too.

I don't have a aidl file to remove

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joaoarmando picture joaoarmando  ·  5Comments

kriti-1 picture kriti-1  ·  7Comments

KRIPT4 picture KRIPT4  ·  3Comments

beshoo picture beshoo  ·  3Comments

goldfish07 picture goldfish07  ·  8Comments