Open pilz97 opened 4 years ago
Fixed in my new release 8.0.3. There was a bug in android support library version 23.2.0 https://stackoverflow.com/questions/35648095/android-support-library-23-2-0-error-in-setting-style-style-widget-appcompat-b
To update run commands:
cordova plugin rm cordova-plugin-qr-barcode-scanner
cordova plugin add cordova-plugin-qr-barcode-scanner
However, this update did not work for me and i had to reinstall platform android.
cordova platform rm android && cordova platform add android
Then reinstall the plugin.
You can also try updating android support library to 23.2.1. I don't know how to do that.
Expected Behaviour
The build should complete without error.
Actual Behaviour
The build fails, with an error.
Steps to Reproduce
I add the plugin to my cordova project and then try the anroid build.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Does not matter, because I am not able to build my app.
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Does not matter, because I am not able to build my app.
Cordova CLI version and cordova platform version
Plugin version
Sample Code that illustrates the problem
cordova build android
Logs taken while reproducing problem
`FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugResources'.
D:\Users\eddyverbruggen\sandboxes\barcodescanner-lib-aar\barcodescanner\src\main\res\layout\capture.xml:219: AAPT: error: resource style/Widget.AppCompat.Button.Borderless (aka com.knobelapp:style/Widget.AppCompat.Button.Borderless) not found.
error: failed linking file resources.`