I've been searching through CLI docs, SO questions, Cordova issues and more for quite some time, but I'm stumped.
So I've created a simple Cordova app for Android using Crosswalk (cordova create
, cordova platform add android
, cordova plugin add cordova-plugin-crosswalk-webview
, cordova build android
, nothing fancy). This, by default, generates a bunch of apk's on cordova build
which is fine.
But then cordova run android --device
installs the arm64
apk which crashes at startup on my device with the message Mismatch of CPU Architecture
- with a button to the store to GET CROSSWALK
- which is not what I want.
I'd like to instruct cordova run android --device
to install and run the armv7
apk, which runs perfectly fine if installed manually via adb install
. How can I do this?
- cordova v8.0.0
- cordova-android v7.0.0
- cordova-plugin-crosswalk-webview v2.4.0
Notes:
- this is for a
debug
build for local development, not forrelease
. - using
[email protected]
instead of7.0.0
works fine, it installs the correct apk.
Thank you!
ant
build, whereas the default builder (and which i'd like to use because it's the latest and recommended one) isgradle
. Also i failed to specify that a similar build using[email protected]
works as intended. So i don't see how those steps would apply here, maybe i am missing something? – Renal