I fixed this by changing the Java compiler level from 1.5 to 1.6. On Monday, November 11, 2013 8:21:00 PM UTC+1, MobileVisuals wrote: > > TrivialDrive is the official sample project for "In app billing". I can’t > get the IInAppBillingService class from that project to work. I have > imported it into the src directory of my project along with the other utils > classes. I have done this with the correct project name. I get a lot of > “must override a superclass method” errors in IInAppBillingService. One of > the messages is > > Multiple markers at this line > - The method consumePurchase(int, String, String) of type > IInAppBillingService.Stub.Proxy must override a superclass method > - implements > com.android.vending.billing.IInAppBillingService.consumePurchase > > The other messages says similar things. I didn’t copy > “IInAppBillingService.java”, only “IInAppBillingService.aidl”. Here is a > screenshot of how my project looks like: > > http://www.mobile-visuals.com/inapp.png >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

