Software Archive
Read-only legacy content
17061 Discussions

Build with latest Cordova CLI and Crosswalk

V_B_
Beginner
162 Views

 

In my www folder in the config.xml file I do not have <preference name="phonegap-version" value="cli-6.2.0" /> or spec="#.#.#" in the Crosswalk plugin tag.

How do I build my app with the latest Cordova CLI and Crosswalk?

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
162 Views

Did you use the "Cordova Build Package" tool on the Build tab to create a PhoneGap/Cordova compatible project? The config.xml file that is generated will work with either PhoneGap Build or Cordova CLI. If you have chosen to "optimize with Crosswalk" in the Android Build Settings on the Projects tab then your exported config.xml file will include the necessary plugin for building with Crosswalk, however, it will be a "multi-architecture" APK file, not two separate APK files, like what our build system delivers. This is due to a deficiency in the way PhoneGap Build delivers built APK files. The config.xml file will be located in the root of the project, not in the www folder. See the doc page for more details > https://software.intel.com/en-us/xdk/docs/build-xdk-app-with-phonegap-cordova-cli <

0 Kudos
Reply