Easy Learning Ionic (ii) integration for Android projects crosswalk

Source: Internet
Author: User

1. Go to the Crosswalk download page and download the Cordova Android(x86) and Cordova Android(ARM) and unzip them. The current stable version number is:9.38.208.10 2. At the command promptGo to the folder where the project is located:A. Removing all files in the Cordovalib folder in the project
RM-RF platforms/android/cordovalib/*

B. Copy the files under the crosswalk x86 schema toin the Cordovalib folder
Cp-a e:\study\crossplatform\crosswalk\crosswalk-cordova-9.38.208.10-x86/framework/* Platforms/android/CordovaLib /

C.Copy the so file under the crosswalk arm architecture toin the Cordovalib folder
Cp-a e:\study\crossplatform\crosswalk\crosswalk-cordova-9.38.208.10-arm/framework/xwalk_core_library/libs/ armeabi-v7a platforms/android/cordovalib/xwalk_core_library/libs/

D. Copy the crosswalk version file to the Android folder
Cp-a e:\study\crossplatform\crosswalk\crosswalk-cordova-9.38.208.10-x86/version Platforms/android/

E. Entering the Cordovalib folder
CD Platforms\android\cordovalib

F. Updating the project
Android Update Project--subprojects--path. --target "Android-19"

G.ant package, and turn on debug mode (can not be performed)
Ant Debug

DescriptionwhichE:\Study\CrossPlatform\Crosswalk\crosswalk-cordova-9.38.208.10-x86 and E:\Study\CrossPlatform\Crosswalk\ The crosswalk-cordova-9.38.208.10-arm corresponds to the extracted path in step 1, respectively. A, B, C, d steps can be manually operated directly, but steps E, f must be performed. after the F-step execution is finished, you can return to the project directory and execute Ionic run Android.

Easy Learning Ionic (ii) integration for Android projects crosswalk

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.