Error while Migrating Cordova app in CrossWalk

久未见 提交于 2019-12-07 15:28:20

问题


I am trying to migrate cordova app in Crosswalk using command line tools as given in this tutorial.After running android update project --subprojects --path . \ --target "android-19"
MY terminal shows:

Updated project.properties

Updated local.properties

build.xml: Found version-tag: custom. File will not be updated.

Added file ./proguard-project.txt

Updated project.properties

Updated local.properties

build.xml: Found version-tag: custom. File will not be updated.

Added file ./xwalk_core_library/proguard-project.txt

After that i followed rest of the steps given in documentation. And after installing app on android device it crashes shows message (Unfortunately app has stopped). I appreciate any guidance.


回答1:


Just make sure you build the projects in the given order:

  1. xwalk_core_library
  2. CordovaLib
  3. YOUR PROJECT

Follow the commands as provided here(https://crosswalk-project.org/documentation/cordova/migrate_an_application.html#Migrate-using-command-line-tools)

$ android update project --subprojects --path \ --target "android-19"

$ ant debug

$ cd ../../..

$ cordova build android



来源:https://stackoverflow.com/questions/28091574/error-while-migrating-cordova-app-in-crosswalk

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