Software Archive
Read-only legacy content
17061 Discusiones

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

Sang_Ki_K_
Principiante
2.125 Vistas

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 Respuestas
MATRIX_R_
Principiante
2.125 Vistas

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

MATRIX_R_
Principiante
2.125 Vistas

@all

@PAUL.F

@Paul F. (Intel)

any news about this issue ?

PaulF_IntelCorp
Empleados
2.125 Vistas

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

Marcelo_M_1
Principiante
2.125 Vistas

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

 

PaulF_IntelCorp
Empleados
2.125 Vistas

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...

jesus_c_2
Principiante
2.125 Vistas
 
 
 
 
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
Responder