hypery2k / cordova-barcodescanner-plugin

barcode scanner plugin for PhoneGap
51 stars 39 forks source link

add this plugin ,I loss my config.xml #41

Open wuchuguang opened 6 years ago

wuchuguang commented 6 years ago
> cordova plugin add cordova-plugin-barcodescanner  
Installing "cordova-plugin-barcodescanner" for android
Installing "cordova-plugin-compat" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 7.0.0, failed version requirement: 
      <6.3.0
Skipping 'cordova-plugin-compat' for android
Android Studio project detected
Adding cordova-plugin-barcodescanner to package.json
Saved plugin info for "cordova-plugin-barcodescanner" to config.xml

> cordova build android
cp: copyFileSync: could not write to dest file (code=ENOENT):/opt/RondafulPDA/platforms/android/res/xml/config.xml

Parsing /opt/RondafulPDA/platforms/android/res/xml/config.xml failed
(node:8297) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/opt/RondafulPDA/platforms/android/res/xml/config.xml'
(node:8297) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
hypery2k commented 6 years ago

as mentioned in the README this plugin is discontinued