简体   繁体   English

在 CrossWalk 中迁移 Cordova 应用程序时出错

[英]Error while Migrating Cordova app in CrossWalk

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 .我正在尝试使用教程中给出的命令行工具Crosswalk 中迁移 cordova 应用程序。运行android update project --subprojects --path 之后。 \\ --target "android-19" \\ --target "android-19"
MY terminal shows:我的终端显示:

Updated project.properties更新了 project.properties

Updated local.properties更新了 local.properties

build.xml: Found version-tag: custom. build.xml:找到版本标签:自定义。 File will not be updated.文件不会更新。

Added file ./proguard-project.txt添加文件 ./proguard-project.txt

Updated project.properties更新了 project.properties

Updated local.properties更新了 local.properties

build.xml: Found version-tag: custom. build.xml:找到版本标签:自定义。 File will not be updated.文件不会更新。

Added file ./xwalk_core_library/proguard-project.txt添加文件 ./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).在 Android 设备上安装应用程序后,它崩溃显示消息(不幸的是应用程序已停止)。 I appreciate any guidance.我感谢任何指导。

Just make sure you build the projects in the given order:只要确保按照给定的顺序构建项目:

  1. xwalk_core_library 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 )按照此处提供的命令( https://crosswalk-project.org/documentation/cordova/migrate_an_application.html#Migrate-using-command-line-tools

$ android update project --subprojects --path \\ --target "android-19" $ android 更新项目 --subprojects --path \\ --target "android-19"

$ ant debug $蚂蚁调试

$ cd ../../.. $ cd ../../..

$ cordova build android $cordova 构建 android

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM