Hi,
I’m migrating app from PhoneGap Build
When trying to build on Android, I get this error:
UserError: Failed to install ‘cordova-plugin-crosswalk-webview’: CordovaError: Using “requireCordovaModule” to load non-cordova module “q” is not supported. Instead, add this module to your dependencies and use regular “require” to load it.
You probably want to move away from this plugin. It hasn’t been updated in more than 4 years. The author has archived it and says there will be no fixes or new versions. A lot of changed in Android and Cordova over the years: any reason you can’t use the standard webview?
Crosswalk does not work for Android 10+ devices. I recommend you split the app in 2 different projects, one with crosswalk and one without. The one without crosswalk must support minimum android 7 (sdk level 26).