4

I am trying to implement in-app purchase to my product.I imported IMarketBilling.aidl to my project. It generated a .java file in my project with errors to remove override method near asBinder method.For that i changed my compiler to 1.6 and set JRE7 to JRE6.ofcourse i am cleaning the project for my every attempt. The main issue is to access the IMarketBilling.aidl file in my project..But it is throwing errors to remove @override at asBinder() method.

Do any one have a good idea to resolve my issue

Victor
  • 893
  • 3
  • 11
  • 21

1 Answers1

6

I have came through same problem.

I have just

Right click on project -> Properties -> Java compiler to 1.6 -> Apply -> Yes and it will automatically rebuild the project and that will solve the above issue.

Refer the below link

How to rectify the errors in the autogenerated IMarketBillingService.java file?

You can try this option also

You might try to use default compile options.

  • Right-click (or Control-Click) the project and select "Properties"
  • Select "Java Compiler"
  • Uncheck "Enable Project Specific Settings"
  • Eclipse will prompt to re-compile and it should be all good.
Community
  • 1
  • 1
Nirali
  • 13,571
  • 6
  • 40
  • 53