How to implement IAP in Unity?
Hi, I've tried using a two plugins for iap purchases on Android, however I always get an error 'Unable to convert java to dex'. Please tell me how to integrate in-app purchase in my Android game for free? Thanks.
Answer by AhadKhan98 · Feb 03, 2016 at 07:27 PM
I was using an admob plugin for Unity. It was interfering with my iap, therefore I deleted the iap purchases.jar from the admob folder and it works fine now.
Answer by Zewde · Feb 02, 2016 at 07:08 AM
That's an error coming from duplicated files. Check for duplicated files, maybe "support" files.
Answer by 265lutab · Feb 02, 2016 at 08:41 AM
I just dealt with this in my game. It's because you have duplicate files in the plugins folder.
Your answer
![](https://koobas.hobune.stream/wayback/20220612062430im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
In-app purchase in Unity 5.3 not working 7 Answers
Unity Codeless IAP, iOS, Sandbox, PurchaseFailureReason.Unknown 3 Answers
my android Codless IAP is not working while testing on internal test upload 0 Answers
How to protect against fraud in Unity IAP? I have over 7k of unverified revenue!!! 1 Answer