Open Verstala2016 opened 8 years ago
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.
Now compilation work fine. But ads not load/not show for android
: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.