Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
In the Google Android SDK Extras, if you install the In-App Billing, there's an IInAppBillingService.aidl file that gets installed. I've tried adding this to my project as an AndroidInterfaceDefinition and it does create an IInAppBillingService.cs file, however that file has compile errors.
The compile error (4 of them) is:
/Users/jonathan/Dropbox/Code/AegisShield.Mobile/Shield.MonoDroid/obj/Debug/aidl/IInAppBillingService.cs(31,31): Error CS0234: The type or namespace name `BundleStub' does not exist in the namespace `Android.OS'. Are you missing an assembly reference? (CS0234) (Shield.MonoDroid)
Here's the original .aidl file:
Here's the generated C# file (the highlighted line - 75 shows one of the 4 similar compile errors):
If there's a workaround (maybe a fixed .cs file) that I can use in the meantime, that would be extremely helpful as I'm supposed to have this working by the end of the week.
You need "Bundle.aidl" in your project too (i.e. Bundle in android.jar is not enough), otherwise the expected "stubs" are not generated.