Admob is not working anymore and crashes apps.

  • Ashley can you please check whether the admob plugin and Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob are still working because it always crashes my apps on startup and it happens when I import the "Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob" on IntelXDK and when I remove this plugin to fix the app and to build it without the "Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob", it crashes like the Plugin junkfiles are still in the project folder on the IntelXDK Projects. And just to fix this I have to re-export to cordova from Construct 2 again to have a clean folder and remake the Project in the IntelXDK with another project folder and not to add "Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob" in the projects plugin. And no more Admob.

    PS. I still haven't found a solution since December 2015

    Ashley please update the Scirra Manual about this topic. Because it is more than a year old and not supported by IntelXDK anymore.

  • https://www.scirra.com/tutorials/4848/how-to-get-admob-official-plugin-working-on-android-crosswalk => Most up to date tutorial explaining how to use the official Ad Mob plugin and export it out of XDK.

    Since this tutorial, it seems the admob cordova plugin of cranberry games has been removed by Intel in there "featured" list.

    Also this is actually completely out of the scope of Construct 2 and an issue with Cordova/Intel XDK itself.

    This article explains how to add an admob plugin (and so where to find it.

    At the time of writing this message the plugin registry contains a few admob plugins.

    I would attempt using "cordova-plugin-admobpro" - "com.google.cordova.admob".

    I haven't tested it, but it should do the work and is more up to date than cranberry's last plugin.

  • hi

    yes he got reason ... admob make the app laggy very laggy and sometimes it crash

  • Thanks Kyatric ! You are a time saver XD .I wouldn't have found this link by myself. I will try it.

  • Still though. I think Scirra Manual contents about Admob (https://www.scirra.com/manual/184/admob) should be updated with a working Plugin ID. Game Dev's might get confused about that unworking plugin id and as a result, people might think twice of using Construct 2 for android or even give up. Construct 2 team can fix big issues with no problem but please don't forget about the little things that makes this program amazing like the scirra manual.

  • Hello,

    I have a similar issue and I can't seem to fix it at all. There are no ads displaying on my test app (tested on a Nexus 5)

    In construct 2 r204, I have it set up as:

    On start of layout -> Admob -> preloadbanner

    Admob -> on banner ad received -> Admob -> Show banner ad at position bottom center size Smart banner(auto,size, recommended)

    I've also tried:

    On start of layout -> Admob -> Show banner ad at position bottom center size Smart banner(auto,size, recommended)

    I doubled checked to make sure that my admob Banner ID is correct with no spaces.

    In Intel XDK 2893:

    I'm using Crosswalk CLI 5.1.1 with "cordova-plugin-admobpro" plugin.

    I've also tried using "cordova-plugin-admob" but I get an error.

    Any help on this would be much appreciated.

  • In Intel XDK 2893:

    I'm using Crosswalk CLI 5.1.1 with "cordova-plugin-admobpro" plugin.

    I've also tried using "cordova-plugin-admob" but I get an error.

    Any help on this would be much appreciated.

    Try using this plugin: com.cranberrygame.phonegap.plugin.ad.admob

    Since Google warned me about the old Cordova version, I updated my game a few days ago and it still works with this plugin.

  • >

    > In Intel XDK 2893:

    > I'm using Crosswalk CLI 5.1.1 with "cordova-plugin-admobpro" plugin.

    > I've also tried using "cordova-plugin-admob" but I get an error.

    >

    > Any help on this would be much appreciated.

    >

    Try using this plugin: com.cranberrygame.phonegap.plugin.ad.admob

    Since Google warned me about the old Cordova version, I updated my game a few days ago and it still works with this plugin.

    I used "com.cranberrygame.phonegap.plugin.ad.admob" but crashes app onstartup and leaves crash junk on Intel XDK Project Folder(in other words, Once I add the plugin even if I remove it, it will still crash the app) and to remove the crash, I have to remake the folder and Re-export from Construct 2 but still no admob.

  • I used "com.cranberrygame.phonegap.plugin.ad.admob" but crashes app onstartup and leaves crash junk on Intel XDK Project Folder(in other words, Once I add the plugin even if I remove it, it will still crash the app) and to remove the crash, I have to remake the folder and Re-export from Construct 2 but still no admob.

    I don't know what causes the crash for you. It works fine for me.

  • > I used "com.cranberrygame.phonegap.plugin.ad.admob" but crashes app onstartup and leaves crash junk on Intel XDK Project Folder(in other words, Once I add the plugin even if I remove it, it will still crash the app) and to remove the crash, I have to remake the folder and Re-export from Construct 2 but still no admob.

    >

    I don't know what causes the crash for you. It works fine for me.

    That's what I am trying to figure out. Can you please give me a screenshot of the event you used for Admob? There must be something in the event I am missing, maybe there is a possibility I wrote it wrong. Since I can't find the reason cranberrygame plugin wont work for me then I guess I'll try anything. XD

  • dont stress yourself with admob plugin just use Appodeal plugin.. it link to your admob account go sign up http://appodeal.com/+702cce69791d2fb67f4a39d2464ee1a7

    here is cocoon tutorial

    https://www.scirra.com/tutorials/4979/a ... onstruct-2

    here is intel tutorial

    https://www.scirra.com/tutorials/4985/h ... plugin-xdk

    i use it in all my games below

    | | | | | |

    v v v v v v

  • That's very odd, I tried using "com.cranberrygame.phonegap.plugin.ad.admob" and the ads still do not show up.

    After trying all the plugins, only "cordova-plugin-ad-admob" works for some reason.

    @wizdigitech - I'll give that a try also, thanks for the links!

  • That's what I am trying to figure out. Can you please give me a screenshot of the event you used for Admob? There must be something in the event I am missing, maybe there is a possibility I wrote it wrong. Since I can't find the reason cranberrygame plugin wont work for me then I guess I'll try anything. XD

    I don't think that the problem will be in the Admob events since mine are simple as well.

  • glerikud - Thanks for the event screenshot. Yeah, it isn't the events.

    @wizdigitech - Looks great like admob, i'll bookmark this and try it out when I re-add ads in my game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    even if it work and not crash ... what i don't understand is that when we use admob banner the app is going laggy and fsp drop

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