When adding the crosswalk plugin and the barcode scanner plugin it should't make a difference in which order they are added to the project.
When we first add the barcode scanner plugin, and then the crosswalk plugin the compile step fails with the following error:
:processArmv7DebugManifest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:21.51.546.6] C:\Users\mla\dev\crosswalk-problem\platforms\android\build\intermediates\exploded-aar\org.xwalk\xwalk_core_library\21.51.546.6\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
However when adding crosswalk first and then the barcode scanner plugin the build succeeds. Issue seems related to https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/319 and https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/275.
$ cordova create crosswalk-problem
$ cd crosswalk-problem
$ cordova platform add android
$ cordova plugin add phonegap-plugin-barcodescanner
$ cordova plugin add cordova-plugin-crosswalk-webview
$ cordova compile
Not relevant, problem occurs in the compile step
cordova-version: 6.3.1
platform: [email protected]
phonegap-plugin-barcodescanner 6.0.2 "BarcodeScanner
See reproduction step.
No additional logs
same problem
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library ....
phonegap-plugin-barcodescanner 6.0.2 "BarcodeScanner"
I'm having the same problem...
did anyone find a solution?
@nicolasFernandez remove the minsdkversion 15 from the barcode scanner plugin and it will work.
Won't fix as crosswalk is no longer supported.
This thread has been automatically locked.
Most helpful comment
@nicolasFernandez remove the minsdkversion 15 from the barcode scanner plugin and it will work.