- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently upgraded to cordova cli 5.1.1 and I am having an issue in the debug mode with the admob sdk. This issue was not happening before the upgrade.
When trying to debug on my android i get the following error:
Error: Plugin "cordova-plugin-ad-admobsdk" (1.0.28) failed to install.
When building the application the issue does not happen. I am not sure if this is a problem with the XDK in debug mode or something to do with the plugin. Unfortunately there are no logs so to debug I am just removing the plugin and adding during build time.
Any help is appreciated.
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a problem with the debug builder, it is using an older method of building that is not compatible with some plugins. That debug builder is being updated to resolve this issue. Until then, your workarounds are:
- remove the admob plugin from your project and let the XDK create a debug module that does not include that plugin; this will limit your app so that it cannot make any calls to the admob API (you might have to guardrail those calls in order to run your app); if you add the admob plugin back in, do NOT allow the XDK to rebuild your debug module, just use the existing debug module
- use the remote CDT option to debug a built app (see https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information. I am looking forward to new updates. In the meantime, both of the methods you described are helpful in bypassing the issue.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page