Intel XDK build failed AdMob plugin failed to install

0 favourites
  • 9 posts
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • Been trying to build my game with intermittent problems.

    Sometimes it's one plugin, sometimes it's another. The latest build fail is because of AdMob. It shows the plugin in plugin management, but i get this error:

    Build Log

    Building a Cordova 6.2.0 application.

    Using platform cordova-android 5.1.1.

    The application name is "(omitted)"

    The package name is "com.(omitted)"

    Preference android-signed set to true. Application will be signed.

    Using Crosswalk Embedded 19

    Error: Unable to build; intelxdk.config.additions.xml file includes plugin tags, which are no longer supported. Use the Intel XDK plugin manager to resolve this issue. See https://software.intel.com/en-us/xdk/do ... lugin-tags

    Error: Could not retrieve plugin dependencies for Cordova AdMob plugin'.

    Error: Plugin Cordova AdMob plugin failed to install.

    Plugin "cordova-plugin-device" (1.1.2) installed.

    Plugin "cordova-plugin-statusbar" (2.1.3) installed.

    Plugin "cordova-plugin-payment-iap" (2.0.52) installed.

    Plugin "cordova-plugin-extras-google-play-services" (1.0.5) installed.

    Plugin "cordova-plugin-game" (1.0.120) installed.

    Plugin "cordova-plugin-whitelist" (1.2.2) installed.

    Plugin "cordova-plugin-crosswalk-webview" (1.8.0) installed.

    Why would the build fail if the plugin is currently in plugin management?

    Any help is greatly appreciated.

  • You must delete the line of code inside additions xml file and add the needed plugin with the plugin management interface: https://github.com/cranberrygame/cordov ... n-ad-admob

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You must delete the line of code inside additions xml file and add the needed plugin with the plugin management interface: https://github.com/cranberrygame/cordov ... n-ad-admob

    He is right, you find a guide for that here.

    Subscribe to Construct videos now

    https://shatter-box.com/knowledgebase/i ... nstruct-2/

  • Josek5494 AndreasR

    Thanks for the reply. One problem is my additions.xml file looks different than the others that i have seen in posts/tutorials.

    This is what mine looks like:

    <!-- Change the debuggable preference to true to build a remote CDT debuggable app for -->

    <!-- Crosswalk apps on Android 4.0+ devices and Cordova apps on Android 4.4+ devices. -->

    <preference name="debuggable" value="false" />

    <!-- IMPORTANT: set the debuggable preference to false before you build for the store! -->

    <platform name="ios">

    <!-- below requires the splash screen plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-splashscreen -->

    <preference name="AutoHideSplashScreen" value="true" />

    <preference name="FadeSplashScreen" value="false"/>

    <preference name="FadeSplashScreenDuration" value="2"/>

    <preference name="ShowSplashScreenSpinner" value="false"/>

    <!-- below requires the status bar plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-statusbar -->

    <!-- see http://devgirl.org/2014/07/31/phonegap-developers-guid -->

    <preference name="StatusBarOverlaysWebView" value="false" />

    <preference name="StatusBarBackgroundColor" value="#000000" />

    <preference name="StatusBarStyle" value="lightcontent" />

    </platform>

    <platform name="android">

    <!-- below requires the splash screen plugin, otherwise ignored -->

    <!-- docs: https://github.com/apache/cordova-plugin-splashscreen -->

    <!-- 'value' = number of milliseconds to display the splash screen in a Cordova build. -->

    <!-- <preference name="SplashScreenDelay" value="0000" /> -->

    <!-- <preference name="SplashMaintainAspectRatio" value="false" /> -->

    </platform>

    <!-- use this feature to add command-lines to be used by Crosswalk builds on device -->

    <!-- see http://peter.sh/experiments/chromium-co ... -switches/ for complete list -->

    <intelxdk:crosswalk xwalk-command-line="--disable-pull-to-refresh-effect" />

    <!-- ignore gpu blacklist for larger collection of gpu accelerated devices -->

    <intelxdk:crosswalk xwalk-command-line="--ignore-gpu-blacklist" />

    <!-- controls configuration of Crosswalk-Android "SurfaceView" or "TextureView" -->

    <!-- see Sep 15 comments in https://crosswalk-project.org/jira/browse/XWALK-2233 -->

    <!-- default is SurfaceView if >= CW15 and TextureView if <= CW14 -->

    <!-- option can only be used with Intel XDK CLI5+ build systems -->

    <!-- SurfaceView is preferred, TextureView should only be used in special cases -->

    <!-- enable Crosswalk-Android TextureView by setting option to true -->

    <preference name="CrosswalkAnimatable" value="false" />

    I am only building for Android at this time, and have these plugins installed under plugin management:

    Device

    InAppBrowser

    Google Play Services

    (Cranberrygame

    Cordova IAP

    Cordova AdMob

    Cordova Game

    )

    Another problem i have is finding the correct url under the git repo tab. I tried a few, but they still would not install, or XDK says no longer supported.

  • Are you using the last version of Intel XDK, and NOT using the xdk project format when youre exporting from C2?

  • Are you using the last version of Intel XDK, and NOT using the xdk project format when youre exporting from C2?

    Yes and Yes.

    I actually got it working. Tested and ads show. My problem was (cause of my situation, being tired and in a rush) i saw the plugin already under plugin management after opening the intel xdk project, so i thought it was fine.

    All you have to do, i found out, is to remove it from the plugin by clicking the minus sign to the left, then adding the git link under git repo. and voilà. No need to actually go in to the additions xml file. At least i didn't.

    Thanks for the reply, though.

  • > Are you using the last version of Intel XDK, and NOT using the xdk project format when youre exporting from C2?

    >

    Yes and Yes.

    I actually got it working. Tested and ads show. My problem was (cause of my situation, being tired and in a rush) i saw the plugin already under plugin management after opening the intel xdk project, so i thought it was fine.

    All you have to do, i found out, is to remove it from the plugin by clicking the minus sign to the left, then adding the git link under git repo. and voilà. No need to actually go in to the additions xml file. At least i didn't.

    Thanks for the reply, though.

    Nice ^^

  • I have this error when build IOS app with Intelxdk 3759:

    CompileC build/Tom\ Cat\ Escape\ Run.build/Release-iphoneos/Tom\ Cat\ Escape\ Run.build/Objects-normal/armv7/AdMobPlugin.o Tom\ Cat\ Escape\ Run/Plugins/cordova-plugin-ad-admob/AdMobPlugin.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    (1 failure)

    I already added the cordova-plugin-ad-admob in padd 3rd party plugin section.

    How to I solve this?

  • Did you add the plugin with git repo and add the application ID in the variable?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)