crosswalk cordova build for google play store

廉价感情. 提交于 2019-12-11 21:23:47

问题


I have followed the directions in this post to migrate my existing cordova app to use crosswalk. I did this for the arm library and this are working great through eclipse.

https://crosswalk-project.org/#documentation/cordova/migrate_an_application

I'd like to test deploying the app to the google play store now.

I saw this article on building a crosswalk app in either embedded mode or shared mode.

https://crosswalk-project.org/#documentation/getting_started/Run_on_Android/Shared-mode

Is there a similar make script for building a cordova/crosswalk app for both architectures, or do I need to create two separate projects, one for arm and one for x86 and then use ANT or eclipse to create an apk?

I've followed this article and would prefer to build locally since I have everything already configured in eclipse.

https://software.intel.com/en-us/html5/articles/submitting-multiple-crosswalk-apk-to-google-play-store

Thanks!


回答1:


At current stage, there is no command line tool support to build cordova/crosswalk app for both architectures. You need to manually create two projects with arm and x86 xwalk_core_library respectively, assign different version number, build and upload them to google play store separately.

Just FYI, we are working with Cordova upstream to support build multiple architectures with Cordova CLI.




回答2:


I was able to get crosswalk cordova working inside of android studio and now gradle lets me define product flavors (arm and x86) and easily kick off separate builds will packing the correct .so lib with each apk.

Is it possible to use crosswalk-cordova inside of Android Studio?




回答3:


You can find a walkthrouth process for Google Play Submit crosswalk app from intel here: https://software.intel.com/sites/default/files/managed/9a/72/Intel_Walkthrough_GP-Multiple_APK_Submissions.pdf



来源:https://stackoverflow.com/questions/24043782/crosswalk-cordova-build-for-google-play-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!