Ionic 3 project and plugin crosswalk error

后端 未结 4 1504
你的背包
你的背包 2021-02-07 10:47

I have a Ionic 3 project, when I run \"ionic cordova run android --prod\" I see

This error:

ANDROID_HOME=C:\\Users\\asus\\AppData\\Loca         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 10:55

    Get Crosswalk version

    As answered by Zhongyuan Zhou, there are ways to get locally saved Crosswalk library on your project, but I prefer the following:

    Go to platforms/android/build/intermediates/exploded-aar/org.xwalk‌​/xwalk_core_library/‌​, then you can see version like 22.52.561.4

    Modify config.xml

    Add the following into your config.xml

    
    

    Compile the Android build

    Do the usual ionic cordova build android to build the Android APK or ionic cordova run android to build and run / install the Android app on an emulator or device.

    Reference: https://forum.ionicframework.com/t/server-error-with-crosswalk-when-running-ionic-run-android/104009/15

提交回复
热议问题