Software Archive
Read-only legacy content
17060 Discussions

Build crash with cordova-plugin-admob

Hamilton_Tenório_da_
Valued Contributor I
480 Views

I am using XDK 2807 and trying to use cordova-plugin-admob. It always broking the build (Cordova Android).

I search and found a issue about it (https://github.com/floatinghotpot/cordova-plugin-admob/issues/206) and the user post a solution: download the plugin from the web, and then instal it from your own directory :)

I did it and the build was OK.

Is there a known problem? How to use the server plugin?

 

0 Kudos
4 Replies
Amrita_C_Intel
Employee
480 Views

Hello Hamilton,

I created and blank project with the same plugin and the build was successful. I used third party plugin and selected git repo and copied the URL. Try doing that or try building a blank project with that plugin.

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
480 Views

@Amrita,

I did some more tests. For me, the problem is occuring only with Cordova CLI 5.1.1 Crosswalk 15. Another cases using CLI 4.1.2 CW 14 is OK.

 

0 Kudos
Amrita_C_Intel
Employee
480 Views

Hello Hamilton,

I built with both the CLI versions and the built is successful in both the cases. Can you retry now?

If the build is failing can you send the build log? 

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
480 Views

Hi Amrita,

This issue is very odd. I tryied with a new app (for test) and build OK. It seems that there is a particular configuration in first one.

To confirm this situation, I did this:

- duplicate my project to test

- build iOS (success: local plugin) --> see log attached

- remove the local plugin

- insert the repo admob

- build iOS (failed) --> see log attached

Thank you for your attention.

0 Kudos
Reply