Software Archive
Read-only legacy content
17060 Discussions

Could not generate debug module

ch_r
Beginner
454 Views

Hello,

I tried to use the AdMob Plugin Pro with the blank "HTML5 + Cordova" template. I installed it via Third-Party Plugins -> Import local plugin.

 I didnt use any Plugin Code - just the blank Template. When i try to debug it on my local device i get the error message "Could not generate debug module". See the whole message in the attached Screen.jpg.

I allready tried:

- using Crosswalk Runtime Embedded 14 and 11

- deleting the Cache directories

- building it on the Server. (It worked and i could start the app on my device.)

- Debuging the blank template without the Plugin. (It worked too)

- Read forum entries for this issue

 

-- The Intel XDK Version is 2807

Hopefully you can help - Thanks!

 

0 Kudos
1 Solution
PaulF_IntelCorp
Employee
454 Views

You might need to use an older version of those AdMob plugins. We've been seeing a lot of quality and consistency problems with the AdMob plugins that are out there, this is one of the reasons we removed them from the featured list. Also, the Debug tab uses a hybrid build scheme, that does not allow for all of the latest plugins to be used. You might have to create a built app and debug that using remote CDT (see this doce for details https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview#RemoteChromeDevTools)

View solution in original post

0 Kudos
4 Replies
Anusha_M_Intel1
Employee
454 Views

Could you create the hello cordova sample and see if that creates a debug module for you?

0 Kudos
Anusha_M_Intel1
Employee
454 Views

Also the debug module in the emulate tab can only debug core plugins. The debug module within the debug tab should work with third party plugins. If neither works, but Hello Cordova does, it is likely an issue with the plugin. 

0 Kudos
ch_r
Beginner
454 Views

Thanks for your answer!

The Hello Cordova Sample works without any Problems but not with the Plugin.

I think i tried the two most common Plugins for Admob:

https://www.npmjs.com/package/cordova-plugin-admobpro
https://www.npmjs.com/package/cordova-plugin-ad-admob

I dont understand why they dont work with Intel xdk?

Do I something wrong when using the Plugins? I downloaded them, extracted them to a Folder and used this Folder for "Import local plugin". I get the message "Plugin added successfully". Then i start the debug Tab.
 

Are there any good Admob Plugins for XDK known to be working with Intel xdk?


 

0 Kudos
PaulF_IntelCorp
Employee
455 Views

You might need to use an older version of those AdMob plugins. We've been seeing a lot of quality and consistency problems with the AdMob plugins that are out there, this is one of the reasons we removed them from the featured list. Also, the Debug tab uses a hybrid build scheme, that does not allow for all of the latest plugins to be used. You might have to create a built app and debug that using remote CDT (see this doce for details https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview#RemoteChromeDevTools)

0 Kudos
Reply