Software Archive
Read-only legacy content
17061 Discussions

Error Building App( Plugin cannot be added because contains Gradle Scripts)

Mateus_A_
Beginner
882 Views
 
Hello , today to update the version of the plugin I use to push notifications ( PushPlugin ) to version 1.4.5 (later tried using Git directory of version 1.5.2 ), I am I get an error that you can not add the same because it contains Graddle scripts. I already checked the Android SDK Manager , if I own all packages that need the plugin , and it's all ok , but if I change from version 1.2.3 to a later version ( 1.4.5 for example) the XDK simply does not compile my application .
 
To add him I had used the "Featured Plugins" session, and since then I have been using the same version 1.2.3 . But if I use a later version (mute it in the XDK ) or use the GIT repository, I just can not add the plugin to the project. I'm using CLI 5.0 version of Cordova, and the following plugin: NPM, GIT.
 
How i can use the version 1.5 of the plugin or something like that? It can be a error with my project or my System?
 
 
 
 
 
0 Kudos
4 Replies
Elroy_A_Intel
Employee
882 Views

If the plugin uses gradle scripts, the Intel XDK Build system at this time will not compile and build your application for the desired platform. We are investigating this for a future implementation. I have also escalated your issue to the Intel XDK Build team.

0 Kudos
Aleksei_N_1
Beginner
882 Views

Hello!

I have the same problem. Should we wait for the solution? Or should we try to find another plugin?

0 Kudos
PaulF_IntelCorp
Employee
882 Views

It will be a while before our build system can support custom gradle scripts. They represent a severe security risk to the build system, this is why those plugins cannot be used. We are working on a solution, but it is not an easy one to solve. I recommend you try to find another plugin or see if it is possible to modify that plugin to work without the gradle script. Might help to start a conversation with the plugin developer, it may be possible to do what they are doing without the gradle script.

0 Kudos
Mateus_A_
Beginner
882 Views
 
Hello , unfortunately using the Intel XDK , I could not use this version of the plugin to get around this I used the pure version of Cordova , allowing me to use the plugin and compile it without problems.
0 Kudos
Reply