-
Notifications
You must be signed in to change notification settings - Fork 124
zzz_archive [Crosswalk cordova android]
This page has been promoted to the main website content at https://crosswalk-project.org/#documentation/cordova.
Crosswalk-based Cordova Android is derived from Cordova Android and embeds Crosswalk as the HTML5 runtime. It supports Android 4.0+.
Crosswalk-based Cordova Android aims to be compatible to Cordova Android as much as possible. Basically, you could refer to Cordova Android Platform Guide.
- Java JDK 1.5 or greater
- Apache ANT 1.8.0 or greater
- Android SDK http://developer.android.com
- Python 2.6 or greater
Please refer to Requirements and Support and Install the SDK in Cordova Android Platform Guide to install JDK, Ant and Android SDK.
And please install Python 2.6 or greater for your system.
Please download the crosswalk-cordova-android development bundle from Download Crosswalk Android. Please pay attention to the release channels and architectures.
For example, download beta 6.35.131.5 for X86:
$ wget https://download.01.org/crosswalk/releases/crosswalk/android/beta/6.35.131.5/x86/crosswalk-cordova-6.35.131.5-x86.zip
for ARM:
$ wget https://download.01.org/crosswalk/releases/crosswalk/android/beta/6.35.131.5/arm/crosswalk-cordova-6.35.131.5-arm.zip
Unzip it and you are ready to create app.
You could use the command-line tool and Android Developer Tool to create and manage your Crosswalk-based Cordova Android app.
Thanks to the remote debugging capability of Crosswalk, you are able to debug your Cordova Apps remotely via Chrome Developer Tools.
You could use the plugman
command-line tool to add Cordova plugins as needed.
- Add Plugins into Your App
- Plugins Supported by Crosswalk-Cordova-Android 3.4.0
- Plugins Supported by Crosswalk-Cordova-Android 3.3.0 (used with Crosswalk-5)
- Additional external plugins
- Use AdMob plugin in Crosswalk
- Use IAP plugin in Crosswalk
You are able to replace Android WebView with Crosswalk in existing Cordova apps.