having an issue compiling to apk with admob pro plugin using cocoon.io

0 favourites
  • 1 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Hi, I am trying to compile my construct2 game to apk using cocoon.io website and it is working fine but the problem is when I installed admob pro plugin I get this compile error:

    COMPILER ERROR:

    /workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:

    FAILURE: Build failed with an exception.

    * What went wrong:

    A problem occurred configuring root project 'android'.

    You have not accepted the license agreements of the following SDK components:

    [Google Repository].

    Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.

    Alternatively, to learn how to transfer the license agreements from one workstation to another, go to d.android.com/r/studio-ui/export-licenses.html

    * Try:

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

    CORDOVA LOG:

    dVideoAdDelegate.h

    skipping existing file: GADSearchBannerView.h

    skipping existing file: GADSearchRequest.h

    skipping existing file: GADUnifiedNativeAd+ConfirmationClick.h

    skipping existing file: GADUnifiedNativeAd.h

    skipping existing file: GADUnifiedNativeAdAssetIdentifiers.h

    skipping existing file: GADUnifiedNativeAdDelegate.h

    skipping existing file: GADUnifiedNativeAdUnconfirmedClickDelegate.h

    skipping existing file: GADVideoController.h

    skipping existing file: GADVideoControllerDelegate.h

    skipping existing file: GADVideoOptions.h

    skipping existing file: GoogleMobileAds.h

    skipping existing file: GoogleMobileAdsDefines.h

    skipping existing file: GADMAdNetworkAdapterProtocol.h

    skipping existing file: GADMAdNetworkConnectorProtocol.h

    skipping existing file: GADMEnums.h

    skipping existing file: GADMRewardBasedVideoAdNetworkAdapterProtocol.h

    skipping existing file: GADMRewardBasedVideoAdNetworkConnectorProtocol.h

    skipping existing file: GADMediatedNativeAd.h

    skipping existing file: GADMediatedNativeAdDelegate.h

    skipping existing file: GADMediatedNativeAdNotificationSource.h

    skipping existing file: GADMediatedNativeAppInstallAd.h

    skipping existing file: GADMediatedNativeContentAd.h

    skipping existing file: GADMediatedUnifiedNativeAd.h

    skipping existing file: GADMediatedUnifiedNativeAdNotificationSource.h

    skipping existing file: GADMediationAdRequest.h

    skipping existing file: module.modulemap

    skipping existing file: AdMobOptions.cs

    skipping existing file: AdMobPlugin.cs

    skipping existing file: GoogleAds.XML

    skipping existing file: GoogleAds.dll

    skipping existing file: admob_simple.js

    skipping existing file: index.html

    skipping existing file: jquery-1.9.js

    skipping existing file: AdMob.d.ts

    skipping existing file: AdMob.js

    [2018-06-16 13:01:32.435] [DEBUG] AndroidBuilder - [build]

    [2018-06-16 13:01:32.436] [DEBUG] AndroidBuilder - [build] create certs folder

    [2018-06-16 13:01:32.436] [DEBUG] AndroidBuilder - [build] keystore

    [2018-06-16 13:01:32.595] [DEBUG] AndroidBuilder - [build] create release build.json

    [2018-06-16 13:01:32.596] [DEBUG] AndroidBuilder - [build] call cordova

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/LICENSE

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/LICENSE

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/README.md

    skipping existing file: README.md

    skipping existing file: README.zh_cn.md

    skipping existing file: android.jpg

    skipping existing file: android_interstitial.jpg

    skipping existing file: good.png

    skipping existing file: iphone.jpg

    skipping existing file: iphone_interstitial.jpg

    skipping existing file: trend.png

    skipping existing file: warning.png

    skipping existing file: youtube_video.jpg

    skipping existing file: youtube_video0.jpg

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/LICENSE

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/README.md

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/package.json

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/LICENSE

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/README.md

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/package.json

    cp: dest file already exists: /workspace/plugins/cordova-plugin-admobpro/plugin.xml

    skipping existing file: AdMobMediation.java

    skipping existing file: AdMobPlugin.java

    skipping existing file: AdMobMediation.h

    skipping existing file: AdMobMediation.m

    skipping existing file: CDVAdMobPlugin.h

    skipping existing file: CDVAdMobPlugin.m

    skipping existing file: GoogleMobileAds

    skipping existing file: DFPBannerView.h

    skipping existing file: DFPBannerViewOptions.h

    skipping existing file: DFPCustomRenderedAd.h

    skipping existing file: DFPCustomRenderedBannerViewDelegate.h

    skipping existing file: DFPCustomRenderedInterstitialDelegate.h

    skipping existing file: DFPInterstitial.h

    skipping existing file: DFPRequest.h

    skipping existing file: GADAdChoicesView.h

    skipping existing file: GADAdLoader.h

    skipping existing file: GADAdLoaderAdTypes.h

    skipping existing file: GADAdLoaderDelegate.h

    skipping existing file: GADAdNetworkExtras.h

    skipping existing file: GADAdReward.h

    skipping existing file: GADAdSize.h

    skipping existing file: GADAdSizeDelegate.h

    skipping existing file: GADAppEventDelegate.h

    skipping existing file: GADAudioVideoManager.h

    skipping existing file: GADAudioVideoManagerDelegate.h

    skipping existing file: GADBannerView.h

    skipping existing file: GADBannerViewDelegate.h

    skipping existing file: GADCorrelator.h

    skipping existing file: GADCorrelatorAdLoaderOptions.h

    skipping existing file: GADCustomEventBanner.h

    skipping existing file: GADCustomEventBannerDelegate.h

    skipping existing file: GADCustomEventExtras.h

    skipping existing file: GADCustomEventInterstitial.h

    skipping existing file: GADCustomEventInterstitialDelegate.h

    skipping existing file: GADCustomEventNativeAd.h

    skipping existing file: GADCustomEventNativeAdDelegate.h

    skipping existing file: GADCustomEventParameters.h

    skipping existing file: GADCustomEventRequest.h

    skipping existing file: GADDebugOptionsViewController.h

    skipping existing file: GADDynamicHeightSearchRequest.h

    skipping existing file: GADExtras.h

    skipping existing file: GADInAppPurchase.h

    skipping existing file: GADInAppPurchaseDelegate.h

    skipping existing file: GADInterstitial.h

    skipping existing file: GADInterstitialDelegate.h

    skipping existing file: GADMediaView.h

    skipping existing file: GADMobileAds.h

    skipping existing file: GADMultipleAdsAdLoaderOptions.h

    skipping existing file: GADNativeAd.h

    skipping existing file: GADNativeAdDelegate.h

    skipping existing file: GADNativeAdImage+Mediation.h

    skipping existing file: GADNativeAdImage.h

    skipping existing file: GADNativeAdImageAdLoaderOptions.h

    skipping existing file: GADNativeAdViewAdOptions.h

    skipping existing file: GADNativeAppInstallAd.h

    skipping existing file: GADNativeAppInstallAdAssetIDs.h

    skipping existing file: GADNativeContentAd.h

    skipping existing file: GADNativeContentAdAssetIDs.h

    skipping existing file: GADNativeCustomTemplateAd.h

    skipping existing file: GADNativeExpressAdView.h

    skipping existing file: GADNativeExpressAdViewDelegate.h

    skipping existing file: GADRequest.h

    skipping existing file: GADRequestError.h

    skipping existing file: GADRewardBasedVideoAd.h

    skipping existing file: GADRewardBasedVideoAdDelegate.h

    skipping existing file: GADSearchBannerView.h

    skipping existing file: GADSearchRequest.h

    skipping existing file: GADUnifiedNativeAd+ConfirmationClick.h

    skipping existing file: GADUnifiedNativeAd.h

    skipping existing file: GADUnifiedNativeAdAssetIdentifiers.h

    skipping existing file: GADUnifiedNativeAdDelegate.h

    skipping existing file: GADUnifiedNativeAdUnconfirmedClickDelegate.h

    skipping existing file: GADVideoController.h

    skipping existing file: GADVideoControllerDelegate.h

    skipping existing file: GADVideoOptions.h

    skipping existing file: GoogleMobileAds.h

    skipping existing file: GoogleMobileAdsDefines.h

    skipping existing file: GADMAdNetworkAdapterProtocol.h

    skipping existing file: GADMAdNetworkConnectorProtocol.h

    skipping existing file: GADMEnums.h

    skipping existing file: GADMRewardBasedVideoAdNetworkAdapterProtocol.h

    skipping existing file: GADMRewardBasedVideoAdNetworkConnectorProtocol.h

    skipping existing file: GADMediatedNativeAd.h

    skipping existing file: GADMediatedNativeAdDelegate.h

    skipping existing file: GADMediatedNativeAdNotificationSource.h

    skipping existing file: GADMediatedNativeAppInstallAd.h

    skipping existing file: GADMediatedNativeContentAd.h

    skipping existing file: GADMediatedUnifiedNativeAd.h

    skipping existing file: GADMediatedUnifiedNativeAdNotificationSource.h

    skipping existing file: GADMediationAdRequest.h

    skipping existing file: module.modulemap

    skipping existing file: AdMobOptions.cs

    skipping existing file: AdMobPlugin.cs

    skipping existing file: GoogleAds.XML

    skipping existing file: GoogleAds.dll

    skipping existing file: admob_simple.js

    skipping existing file: index.html

    skipping existing file: jquery-1.9.js

    skipping existing file: AdMob.d.ts

    skipping existing file: AdMob.js

    ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux

    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

    Subproject Path: CordovaLib

    Starting a Gradle Daemon, 5 stopped Daemons could not be reused, use --status for details

    null

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

    at build_pgub3sjt93i69x0as1ogrkvx.run(/workspace/platforms/android/build.gradle:139)

    org.xwalk:xwalk_core_library:23+

    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    Incremental jav

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)