i am developing Hybrid app using ionic
. i want to use barcode scanner
within it.
i am installing barcode scanner plugin
using https://www.thepolyglotdeveloper.com/2014/09/implement-barcode-scanner-using-ionic-framework/
plugin install successfully but after that when i try to deploye my app on android devices using command
ionic run android
I'm getting this following error
Here is version list :
ionic -v : 2.1.0
cordova -v : 6.4.0
npm -v : 2.15.9
node -v : 4.6.0
I dont know , why my project does not run in device, please help me.
Sorry for my english.
thanks in advance
In platforms -> android ->project.properties file change
from
cordova.system.library.3=com.facebook.android:facebook-android-sdk:4.+
to
cordova.system.library.3=com.facebook.android:facebook-android-sdk:4.25.0
Remove all plugins then have dependencies on cordova-plugin-compat
, listed here: https://cordova.apache.org/news/2017/11/10/plugins-release.html
Remove plugin itself and re-install platform.
cordova plugin rm cordova-plugin-compat --force
cordova platform rm android
cordova platform add [email protected]
This should help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With