Hi,
Thanks for your attention to crosswalk project. The crosswalk-lite support for 
cordova is still ongoing, So currently it cannot be integrated easily by 
running “cordova plug add” command. we plan to finish it by Q1 2016. Before 
that we cannot guarantee the crosswalk-lite is stable.
Only for experimental purpose you can integrate crosswalk-lite manually as 
below:

1)       Follow the 
https://crosswalk-project.org/documentation/cordova/dordova_4.html , create 
your helloworld.apk for example.  Now the crosswalk(not crosswalk-lite) is 
integrated.

2)       Change the crosswalk into crosswalk-lite:  from the folder 
helloworld/plugins/, find the .…/xwalk.gradle and open it. You can find the 
maven url is set as https://download.01.org/crosswalk/..../maven2/,  this url 
is for crosswalk, not crosswalk-lite, the maven repo setup for crosswalk-lite 
is still ongoing. So you have to set up a maven repo for crosswalk-lite.

3)       From 
https://download.01.org/crosswalk/releases/crosswalk-lite/android/canary/ you 
can find all versions of crosswalk-lite release. Download the 
crosswalk-15.44.397.7.aar(maybe it should be named as crosswalk-lite-15.xxxx).  
 create your maven repo.

4)       Edit the xwalk.gradle file:

Change the maven url as your new created maven repo url.  In “Repositories{ 
maven{ xxx }}

Change “compile xwalkSpec” into “compile liteSpec”, add the def of  liteSpec 
based on your maven repo:

“def liteSpec = org.xwalk:xwalk_core_library:1.0.0.1 ” for example.
      Then rebuild your app, done.

Best Regards,
He, Ke



From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Niraj 
Chauhan
Sent: Friday, January 08, 2016 7:10 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] Crosswalk Lite With Cordova

Hi,
Is there any way to integrate crosswalk lite with cordova. This 
wiki<https://github.com/crosswalk-project/crosswalk-website/wiki/Crosswalk-Project-Lite>
 does not help, is there any better tutorial available on internet?
Thank you

Niraj Chauhan
[email protected]<mailto:[email protected]>

GreyKite
http://www.greykite.com
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to