Software Archive
Read-only legacy content
17061 Discussions

cordova crosswalk 5.1.1, build error occurs when using github url in the plugin tag.

Sang_Ki_K_
Beginner
501 Views

Hi,

I usually install cordova plugins bu putting following tag in the intelxdk.config.additions.xml file.

<intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-ad-admob" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-ad-admob" />

and built well.

But the problem came from cordova 5.1.1 update.

as for cordova ios 5.1.1, build works well.
but as for cordova crosswalk 5.1.1, build error occurs when using github url in the plugin tag. (attached screen shot)

0 Kudos
6 Replies
MATRIX_R_
Beginner
501 Views

installing plugins via additions.xml is deprecated

try to use the plugin manager and post the log here if it fail

i think it success with android crosswalk (except your appodeal plugin wich fail)

and the build with iOS fail specially for admob

https://software.intel.com/en-us/forums/intel-xdk/topic/594986

0 Kudos
MATRIX_R_
Beginner
501 Views

@all

@PAUL.F

@Paul F. (Intel)

any news about this issue ?

0 Kudos
PaulF_IntelCorp
Employee
501 Views

You need to install the plugins by using the plugin manager from the Projects tab, do not use the additions.xml file. Do the following:

  • Select Projects tab
  • Expand Plugin Management
  • Select "Add Plugins to this Project"
  • Select "Third-Party Plugins"
  • Select "Git repo"
  • in the "Repo URL" field type: https://github.com/cranberrygame/phonegap-plugin-ad-admob
  • in the "Git Ref" field type: 414f5123ea0223d25c237958cbf519305bfd3854
  • click the "Add Plugin" button

Return to the Plugin Management screen and you should see something like this (at least the "Phonegap Admob plugin" and the "Google Play Services for Android" plugin, others depend on your project):

Screen Shot 2015-10-14 at 5.58.40 PM.png

0 Kudos
Marcelo_M_1
Beginner
501 Views

Didn't work for me - all I get is a Plugin Not Found message... (check attached screenshot)

 

0 Kudos
PaulF_IntelCorp
Employee
501 Views

Marcelo -- are you able to use this technique with ANY git referenced plugin? What happens if you leave the "tag" field blank. Is the XDK able to pull in the plugin then? I've double-checked and the repo is there and the tag I spec'd is there. It could be a proxy problem or git problem...

0 Kudos
jesus_c_2
Beginner
501 Views
 
 
 
 
Hi I'm new XDK before I worked plugin admob, but now Nocon cordova 5.1.1 as is done to implement this plugin? thanks
0 Kudos
Reply