Software Archive
Read-only legacy content
17061 Discussions

Error: Plugin BarcodeScanner cannot be added. The plugin contains Gradle scripts.

Victor_F_1
Beginner
234 Views

Hi

I'm getting this error message "Plugin BarcodeScanner cannot be added. The plugin contains Gradle scripts" when I try to generate an .apk file

Same configuration works for iOS, I'm using com.phonegap.plugins.barcodescanner

Does anyone have a clue of how can this be fixed?

Thanks!!

0 Kudos
1 Reply
Anthony_H_Intel
Employee
234 Views

Hi Victor-

Our build system does not support gradle dependencies, take a look at this FAQ for more information about this.

It sounds like you are using a newer version of the barcode scanner than the one that is available via the Intel XDK Plugin Manager.

The latest version we support is 4.1.0 because a gradle dependency was added to the plugin after that version.

In order to resolve this, you can downgrade the version of the plugin to 4.1.0 or remove it and add the version that is provided via the Intel XDK Plugin Manager.

Hope this helps!
Tony

0 Kudos
Reply