Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.7 compilation error on Cocoon.io #5

Open
Verstala2016 opened this issue Jul 2, 2016 · 2 comments
Open

1.1.7 compilation error on Cocoon.io #5

Verstala2016 opened this issue Jul 2, 2016 · 2 comments

Comments

@Verstala2016
Copy link

:generateArmv7ReleaseSources
:compileArmv7ReleaseJavaWithJavaccordova/platforms/android/src/com/heyzap/cordova/ads/CDVBannerAd.java:88: error: display(Activity,int,String,BannerOptions) has private access in BannerAd
BannerAd.display(cordova.getActivity(), position, tag, options);
^
cordova/platforms/android/src/com/heyzap/cordova/ads/CDVBannerAd.java:135: error: constructor BannerOptions in class BannerOptions cannot be applied to given types;
BannerOptions options = new BannerOptions();
^
required: BannerOptions
found: no arguments
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: cordova/platforms/android/src/com/ludei/googleplaygames/GPGService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileArmv7ReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

@zarelint
Copy link

zarelint commented Jul 4, 2016

same in android

:compileDebugJavaWithJavacC:\Users\jesus\Documents\js\IoinicRacha\platforms\android\src\com\heyzap\cordova\ads\CDVBannerAd.java:88: error: display(Activity,int,String,BannerOptions) h
as private access in BannerAd
BannerAd.display(cordova.getActivity(), position, tag, options);
^
C:\Users\jesus\Documents\js\IoinicRacha\platforms\android\src\com\heyzap\cordova\ads\CDVBannerAd.java:135: error: constructor BannerOptions in class BannerOptions cannot be applied to
given types;
BannerOptions options = new BannerOptions();
^
required: BannerOptions
found: no arguments
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
FAILED
Note: Recompile with -Xlint:deprecation for details.
2 errors

FAILURE: Build failed with an exception.

@Verstala2016
Copy link
Author

Now compilation work fine. But ads not load/not show for android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants