尝试使用适用于android的Tesseract OCR Phonegap插件运行应用程序时出错

尝试使用适用于android的Tesseract OCR Phonegap插件运行应用程序时出错,android,cordova,plugins,ocr,tesseract,Android,Cordova,Plugins,Ocr,Tesseract,我遵循了这里的说明:创建一个使用tesseract OCR phonegap插件的android应用程序,但我发现以下错误: 'Uncaught SyntaxError: Unexpected token } plugins/com.tesseract.phonegap.tesseractPlugin/www/tesseractPlugin.js:10 Uncaught Error: Module com.tesseract.phonegap.tesseractPlugin.TesseractP

我遵循了这里的说明:创建一个使用tesseract OCR phonegap插件的android应用程序,但我发现以下错误:

'Uncaught SyntaxError: Unexpected token } plugins/com.tesseract.phonegap.tesseractPlugin/www/tesseractPlugin.js:10
Uncaught Error: Module com.tesseract.phonegap.tesseractPlugin.TesseractPlugin does not exist. cordova.js:1418
deviceready has not fired after 5 seconds. cordova.js:1183
Channel not fired: onPluginsReady cordova.js:1176
Channel not fired: onCordovaReady cordova.js:1176
Uncaught ReferenceError: Camera is not defined index.html:62'
我不知道为什么。 我认为插件在正确的地方。我已经试着移除了花括号,但它们似乎在cordova构建过程中被重新添加