IAP extension not compiling

emicarra

Member
Hello, my Android app is not compiling with the GooglePlayServicesIAPextension, i'd appreciate some help, thanks!
Here's the error message:


(...)
:com.GamerMind.Warriors_of_the_Universe_Online:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:com.GamerMind.Warriors_of_the_Universe_Online:compileReleaseJavaWithJavac
:com.GamerMind.Warriors_of_the_Universe_Online:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Z:\com.GamerMind.Warriors_of_the_Universe_Online\src\main\java\com\GamerMind\Warriors_of_the_Universe_Online\RunnerBilling.java:30: error: cannot find symbol
public class RunnerBilling extends IRunnerBilling implements RunnerBillingInterface
^
symbol: class RunnerBillingInterface
Z:\com.GamerMind.Warriors_of_the_Universe_Online\src\main\java\com\GamerMind\Warriors_of_the_Universe_Online\GooglePlayServicesExtension.java:505: error: constructor RunnerBilling in class RunnerBilling cannot be applied to given types;
mRunnerBilling = new RunnerBilling(RunnerActivity.CurrentActivity);
^
required: no arguments
found: RunnerActivity
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:com.GamerMind.Warriors_of_the_Universe_Online:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.GamerMind.Warriors_of_the_Universe_Online:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.083 secs
cmd /c "subst /d Z:"

Create finished: 01:37:02 p.m.
 

emicarra

Member
Update:
I opened the IAP Extension and commented "implements RunnerBillingInterface" so that code doesn't run.
I don't have experience with java, i don't know if this will cause errors but now my project is compling without errors, i haven't tested if IAP works yet.

If anyone has any experience with this, please let me know if doing what i did will cause errors, thanks.

upload_2019-1-4_4-19-54.png
 
Top