I am trying to implement In app billing
service in my Andorid application.
I\'ve added the IMarketBillingService.aidl
file to my project in
Project-->clean and build may solve it as well
You might try to use default compile options.
Eclipse will prompt to re-compile and it should be all good.
Was also getting numerous errors in the generated IInAppBillingService.java. I tried many, many suggested solutions without success. Finally a variant of Zedifire's method worked on my Eclipse SDK. (these steps are from memory - try around until it works!)
VOILA -the generated files finally compiled without the errors!
The reason is, that Java 1.5 does not support overriding interface methods. https://stackoverflow.com/a/212642/1283492 From Java 1.6 onwards it is allowed. Thus as already stated by easycheese, one needs to put Java 1.6 or higher in the java compiler settings of the project properties.