Phonegap Barcode Scanner error SetupTask

view story

http://stackoverflow.com – I'm trying to develop a PhoneGap app and I need a QR Code Scanner. I'm trying to implement this plugin: https://github.com/phonegap/phonegap-plugins/tree/master/Android/Barcode..., but I'm getting this error from Line 64 in the plugin build.xml file: taskdef class com.android.ant.SetupTask cannot be found using the classloader AntClassLoader[] (HowTos)