Note that there are some explanatory texts on larger screens.

plurals
  1. POConversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/android/vending/billing/IInAppBillingService;
    text
    copied!<p>I am working on an app which has got In app purchases and there is a restore button to restore the purchased goods even after the user uninstalls or deletes the app. I was successful in making the in app purchase and now I found few examples to work on the restore button. </p> <p>I implemented it and followed the procedure to get the signed apk but there appears an error everytime I try to do that.</p> <p>Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/android/vending/billing/IInAppBillingService;</p> <p>I am having IMarketBillingService.aidl and IInAppBillingService.aidl in the package named com.android.vending.billing which when the project is built generate IMarketBillingService.java and IInAppBillingService.java in the gen folder. But at the run time I get the above error and I am not able to pass through this, I followed deleting the bin and gen folder from the source code and then cleaning the code but still the same problem persists. Please help me to solve this problem.</p> <p><strong>EDIT</strong>: I think this might be the reason for this to happen. I got the IInAppBillingService.aidl file from my friend and that way I didn't install it. Now, I am trying to install it through Android SDK Manager but I am not able to approach to Extras here, all i can see is the screen having the options like:</p> <p>Virtual Devices Installed Packages Available Packages</p> <p>How can I appraoch Extras here so that the aidl file gets installed. </p> <p>I tried to open the SDK Manager by:</p> <ol> <li>Opening SDK Manager.exe file at the root of the Android SDK directory.</li> <li>By using the path, Window > Android SDK Manager in the Eclipse.</li> </ol> <p>Am I doing anything wrong here to find the Extras to install the aidl file, Please help. Thanks in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload